Package | Description |
---|---|
org.springframework.data.solr.core |
Provides the classes necessary for Solr support.
|
org.springframework.data.solr.core.query |
Modifier and Type | Class and Description |
---|---|
class |
QueryParserBase<QUERYTPYE extends SolrDataQuery>
Base Implementation of
QueryParser providing common functions for creating
SolrQuery . |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.SolrQuery |
QueryParser.constructSolrQuery(SolrDataQuery query)
Convert given Query into a SolrQuery executable via
SolrClient |
org.apache.solr.client.solrj.SolrQuery |
QueryParserBase.constructSolrQuery(SolrDataQuery query) |
long |
SolrOperations.count(SolrDataQuery query)
return number of elements found by for given query
|
long |
SolrTemplate.count(SolrDataQuery query) |
long |
SolrOperations.count(SolrDataQuery query,
RequestMethod method)
return number of elements found by for given query
|
long |
SolrTemplate.count(SolrDataQuery query,
RequestMethod method) |
long |
SolrOperations.count(String collectionName,
SolrDataQuery query)
Return number of elements found in given collection by for given query
|
long |
SolrTemplate.count(String collectionName,
SolrDataQuery query) |
long |
SolrOperations.count(String collectionName,
SolrDataQuery query,
RequestMethod method)
Return number of elements found in collection by for given query.
|
long |
SolrTemplate.count(String collectionName,
SolrDataQuery query,
RequestMethod method) |
org.apache.solr.client.solrj.response.UpdateResponse |
SolrOperations.delete(SolrDataQuery query)
Find and delete all objects matching the provided Query
|
org.apache.solr.client.solrj.response.UpdateResponse |
SolrTemplate.delete(SolrDataQuery query) |
org.apache.solr.client.solrj.response.UpdateResponse |
SolrOperations.delete(String collectionName,
SolrDataQuery query)
Find and delete all objects matching the provided Query in specific collection.
|
org.apache.solr.client.solrj.response.UpdateResponse |
SolrTemplate.delete(String collectionName,
SolrDataQuery query) |
org.apache.solr.client.solrj.SolrQuery |
DefaultQueryParser.doConstructSolrQuery(SolrDataQuery query)
Convert given Query into a SolrQuery executable via
SolrClient |
String |
QueryParser.getQueryString(SolrDataQuery query)
Get the queryString to use withSolrQuery.setParam(CommonParams.Q, "queryString"}
|
String |
QueryParserBase.getQueryString(SolrDataQuery query) |
protected String |
QueryParserBase.prependJoin(String queryString,
SolrDataQuery query)
Prepend {@code !
|
Modifier and Type | Method and Description |
---|---|
QueryParser |
QueryParsers.getForClass(Class<? extends SolrDataQuery> clazz)
Get the
QueryParser for given query type |
void |
QueryParsers.registerParser(Class<? extends SolrDataQuery> clazz,
QueryParser parser)
Register additional
QueryParser for SolrQuery |
void |
SolrTemplate.registerQueryParser(Class<? extends SolrDataQuery> clazz,
QueryParser queryParser) |
Modifier and Type | Interface and Description |
---|---|
interface |
FacetAndHighlightQuery
A Query that combines a
FacetQuery and a HighlightQuery |
interface |
FacetQuery
Query to be used for faceting.
|
interface |
FilterQuery
Filter Queries are simple solr Queries applied after executing the original query.
|
interface |
HighlightQuery |
interface |
Query
A Query that can be translated into a solr understandable Query.
|
interface |
TermsQuery |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFacetAndHighlightQueryDecorator
General purpose
FacetAndHighlightQuery decorator. |
class |
AbstractFacetQueryDecorator
General purpose
FacetQuery decorator. |
class |
AbstractHighlightQueryDecorator
General purpose
HighlightQuery decorator. |
class |
AbstractQueryDecorator
General purpose
Query abstract decorator. |
class |
SimpleFacetAndHighlightQuery
Trivial implementation of
FacetAndHighlightQuery |
class |
SimpleFacetQuery
Trivial implementation of
FacetQuery |
class |
SimpleFilterQuery
Trivial implementation of
FilterQuery |
class |
SimpleHighlightQuery
Trivial implementation of
HighlightQuery extending SimpleQuery . |
class |
SimpleQuery
Full implementation of
Query that allows multiple options like pagination, grouping,... |
class |
SimpleTermsQuery |
Modifier and Type | Method and Description |
---|---|
<T extends SolrDataQuery> |
SolrDataQuery.addCriteria(Criteria criteria)
Append criteria to query.
|
<T extends SolrDataQuery> |
AbstractQueryDecorator.addCriteria(Criteria criteria) |
<T extends SolrDataQuery> |
AbstractFacetAndHighlightQueryDecorator.setFacetOptions(FacetOptions facetOptions) |
<T extends SolrDataQuery> |
AbstractFacetQueryDecorator.setFacetOptions(FacetOptions facetOptions) |
<T extends SolrDataQuery> |
FacetQuery.setFacetOptions(FacetOptions facetOptions)
Faceting options to apply when executing query
|
<T extends SolrDataQuery> |
SimpleFacetQuery.setFacetOptions(FacetOptions facetOptions) |
<T extends SolrDataQuery> |
SimpleFacetAndHighlightQuery.setFacetOptions(FacetOptions facetOptions) |
<T extends SolrDataQuery> |
AbstractFacetAndHighlightQueryDecorator.setHighlightOptions(HighlightOptions highlightOptions) |
<T extends SolrDataQuery> |
SimpleHighlightQuery.setHighlightOptions(HighlightOptions highlightOptions) |
<T extends SolrDataQuery> |
HighlightQuery.setHighlightOptions(HighlightOptions highlightOptions)
Highlight options to apply when exectuing query
|
<T extends SolrDataQuery> |
SimpleFacetAndHighlightQuery.setHighlightOptions(HighlightOptions highlightOptions) |
<T extends SolrDataQuery> |
AbstractHighlightQueryDecorator.setHighlightOptions(HighlightOptions highlightOptions) |
Modifier and Type | Method and Description |
---|---|
List<SolrDataQuery> |
FacetOptions.getFacetQueries()
Get the list of facetQueries
|
Modifier and Type | Method and Description |
---|---|
FacetOptions |
FacetOptions.addFacetQuery(SolrDataQuery query)
Append
facet.query |
Constructor and Description |
---|
FacetOptions(SolrDataQuery... facetQueries)
Creates new instance faceting on given queries
|
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.