java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.TermQuery
org.apache.lucene.facet.FacetQuery
A term
Query
over a FacetField
.
NOTE:This helper class is an alternative to DrillDownQuery
especially in cases
where you don't intend to use DrillSideways
-
Constructor Summary
ConstructorsConstructorDescriptionFacetQuery
(String dimension, String... path) Creates a newFacetQuery
filtering the query on the given dimension.FacetQuery
(FacetsConfig facetsConfig, String dimension, String... path) Creates a newFacetQuery
filtering the query on the given dimension. -
Method Summary
Modifier and TypeMethodDescription(package private) static Term
toTerm
(FacetsConfig.DimConfig dimConfig, String dimension, String... path) Methods inherited from class org.apache.lucene.search.TermQuery
createWeight, equals, getTerm, getTermStates, hashCode, toString, visit
-
Constructor Details
-
FacetQuery
Creates a newFacetQuery
filtering the query on the given dimension. -
FacetQuery
Creates a newFacetQuery
filtering the query on the given dimension.NOTE:Uses FacetsConfig.DEFAULT_DIM_CONFIG.
-
-
Method Details
-
toTerm
-