Package org.apache.lucene.facet
Class FacetQuery
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
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorDescriptionFacetQuery
(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
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.
-