Added Documentation and More Tests

This commit is contained in:
Mohsin Husen
2013-01-28 10:05:24 +00:00
parent 838aaa8be0
commit 67af1a1458
293 changed files with 41673 additions and 128 deletions

View File

@@ -44,7 +44,6 @@ class CriteriaQueryProcessor {
query.must(createQueryFragmentForCriteria(chainedCriteria));
}
}
return query;
}

View File

@@ -255,7 +255,7 @@ public class Criteria {
/**
* Crates new CriteriaEntry allowing native solr expressions
* Crates new CriteriaEntry allowing native elasticsearch expressions
*
* @param s
* @return

View File

@@ -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
*/

View File

@@ -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

View File

@@ -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.
*
*/

View File

@@ -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

View File

@@ -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
*/