Added Documentation and More Tests
This commit is contained in:
@@ -44,7 +44,6 @@ class CriteriaQueryProcessor {
|
||||
query.must(createQueryFragmentForCriteria(chainedCriteria));
|
||||
}
|
||||
}
|
||||
|
||||
return query;
|
||||
}
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@ public class Criteria {
|
||||
|
||||
|
||||
/**
|
||||
* Crates new CriteriaEntry allowing native solr expressions
|
||||
* Crates new CriteriaEntry allowing native elasticsearch expressions
|
||||
*
|
||||
* @param s
|
||||
* @return
|
||||
|
||||
@@ -22,7 +22,7 @@ package org.springframework.data.elasticsearch.core.query;
|
||||
public interface Field {
|
||||
|
||||
/**
|
||||
* Get the name of the field used in schema.xml of solr server
|
||||
* Get the name of the field used in schema.xml of elasticsearch server
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
||||
@@ -10,7 +10,7 @@ public interface Query {
|
||||
|
||||
|
||||
/**
|
||||
* restrict result to entries on given page. Corresponds to the 'start' and 'rows' parameter in solr
|
||||
* restrict result to entries on given page. Corresponds to the 'start' and 'rows' parameter in elasticsearch
|
||||
*
|
||||
* @param pageable
|
||||
* @return
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.w3c.dom.Element;
|
||||
|
||||
|
||||
/**
|
||||
* {@link org.springframework.data.repository.config.RepositoryConfigurationExtension} implementation to configure Solr repository configuration support,
|
||||
* {@link org.springframework.data.repository.config.RepositoryConfigurationExtension} implementation to configure Elasticsearch repository configuration support,
|
||||
* evaluating the {@link EnableElasticsearchRepositories} annotation or the equivalent XML element.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -98,7 +98,7 @@ public @interface EnableElasticsearchRepositories {
|
||||
*/
|
||||
Class<?> repositoryFactoryBeanClass() default ElasticsearchRepositoryFactoryBean.class;
|
||||
|
||||
// Solr specific configuration
|
||||
// Elasticsearch specific configuration
|
||||
|
||||
/**
|
||||
* Configures the name of the {@link ElasticsearchTemplate} bean definition to be used to create repositories discovered
|
||||
|
||||
@@ -33,7 +33,7 @@ public class ElasticsearchRepositoryFactoryBean<T extends Repository<S, ID>, S,
|
||||
private ElasticsearchOperations operations;
|
||||
|
||||
/**
|
||||
* Configures the {@link ElasticsearchOperations} to be used to create Solr repositories.
|
||||
* Configures the {@link ElasticsearchOperations} to be used to create Elasticsearch repositories.
|
||||
*
|
||||
* @param operations the operations to set
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user