Interface FilterQuery
- All Superinterfaces:
SolrDataQuery
- All Known Implementing Classes:
SimpleFacetAndHighlightQuery,SimpleFacetQuery,SimpleFilterQuery,SimpleHighlightQuery,SimpleQuery
Filter Queries are simple solr Queries applied after executing the original query. This corresponds to the
fq
Parameter within solr.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic FilterQueryCreate a newFilterQuerywith the givenCriteria.static FilterQueryCreate a newFilterQueryapplying ageodistfunction.Methods inherited from interface org.springframework.data.solr.core.query.SolrDataQuery
addCriteria, getCriteria, getJoin, setJoin
-
Method Details
-
filter
Create a newFilterQuerywith the givenCriteria.- Parameters:
criteria- must not be null.- Returns:
- new instance of
FilterQuery. - Since:
- 4.1
-
geoFilter
Create a newFilterQueryapplying ageodistfunction.- Parameters:
from- must not be null.to- must not be null.- Returns:
- new instance of
FilterQuery. - Since:
- 4.1
-