|
Spring Data Solr | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Query | |
|---|---|
| org.springframework.data.solr.core | Provides the classes necessary for Solr support. |
| org.springframework.data.solr.core.query | |
| org.springframework.data.solr.repository.query | |
| org.springframework.data.solr.repository.support | |
| Uses of Query in org.springframework.data.solr.core |
|---|
| Methods in org.springframework.data.solr.core with parameters of type Query | ||
|---|---|---|
|
SolrOperations.queryForObject(Query query,
Class<T> clazz)
Execute the query against solr and return the first returned object |
|
|
SolrTemplate.queryForObject(Query query,
Class<T> clazz)
|
|
|
SolrOperations.queryForPage(Query query,
Class<T> clazz)
Execute the query against solr and retrun result as Page |
|
|
SolrTemplate.queryForPage(Query query,
Class<T> clazz)
|
|
| Uses of Query in org.springframework.data.solr.core.query |
|---|
| Subinterfaces of Query in org.springframework.data.solr.core.query | |
|---|---|
interface |
FacetQuery
Query to be used for faceting. |
interface |
HighlightQuery
|
| Classes in org.springframework.data.solr.core.query that implement Query | |
|---|---|
class |
SimpleFacetQuery
Trivial implementation of FacetQuery |
class |
SimpleHighlightQuery
Trivial implementation of HighlightQuery extending SimpleQuery. |
class |
SimpleQuery
Full implementation of Query that allows multiple options like pagination, grouping,... |
| Methods in org.springframework.data.solr.core.query with type parameters of type Query | ||
|---|---|---|
|
SimpleQuery.addFilterQuery(FilterQuery filterQuery)
|
|
|
Query.addFilterQuery(FilterQuery query)
add query to filter results Corresponds to fq in solr |
|
|
SimpleQuery.addGroupByField(Field field)
|
|
|
Query.addGroupByField(Field field)
add the given field to those used for grouping result Corresponds to '' in solr |
|
|
SimpleQuery.addGroupByField(String fieldname)
add grouping on fieldname |
|
|
SimpleQuery.addProjectionOnField(Field field)
|
|
|
Query.addProjectionOnField(Field field)
add given Field to those included in result. |
|
|
SimpleQuery.addProjectionOnField(String fieldname)
|
|
|
SimpleQuery.addProjectionOnFields(Field... fields)
|
|
|
SimpleQuery.addProjectionOnFields(String... fieldnames)
|
|
|
SimpleQuery.addSort(Sort sort)
|
|
|
Query.addSort(Sort sort)
Add Sort to query |
|
|
SimpleQuery.setPageRequest(Pageable pageable)
|
|
|
Query.setPageRequest(Pageable pageable)
restrict result to entries on given page. |
|
|
SimpleQuery.setTimeAllowed(Integer timeAllowed)
|
|
|
Query.setTimeAllowed(Integer timeAllowed)
The time in milliseconds allowed for a search to finish. |
|
| Methods in org.springframework.data.solr.core.query that return Query | |
|---|---|
static Query |
SimpleQuery.fromQuery(Query source)
|
| Methods in org.springframework.data.solr.core.query with parameters of type Query | ||
|---|---|---|
static Query |
SimpleQuery.fromQuery(Query source)
|
|
static
|
SimpleQuery.fromQuery(Query source,
T destination)
|
|
static QueryFunction |
QueryFunction.query(Query query)
|
|
| Uses of Query in org.springframework.data.solr.repository.query |
|---|
| Methods in org.springframework.data.solr.repository.query that return Query | |
|---|---|
protected Query |
PartTreeSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
|
protected abstract Query |
AbstractSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
|
protected Query |
StringBasedSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
|
| Methods in org.springframework.data.solr.repository.query with parameters of type Query | |
|---|---|
protected void |
AbstractSolrQuery.appendProjection(Query query)
|
| Uses of Query in org.springframework.data.solr.repository.support |
|---|
| Methods in org.springframework.data.solr.repository.support with parameters of type Query | |
|---|---|
protected long |
SimpleSolrRepository.count(Query query)
|
|
Spring Data Solr | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||