Package org.apache.lucene.facet
Class MultiFacetQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.TermInSetQuery
org.apache.lucene.facet.MultiFacetQuery
- All Implemented Interfaces:
Accountable
A multi-terms
Query
over a FacetField
.
NOTE:This helper class is an alternative to DrillDownQuery
especially in cases
where you don't intend to use DrillSideways
- See Also:
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ConstructorDescriptionMultiFacetQuery
(String dimension, String[]... paths) Creates a newMultiFacetQuery
filtering the query on the given dimension.MultiFacetQuery
(FacetsConfig facetsConfig, String dimension, String[]... paths) Creates a newMultiFacetQuery
filtering the query on the given dimension. -
Method Summary
Methods inherited from class org.apache.lucene.search.TermInSetQuery
createWeight, equals, getChildResources, getTermData, hashCode, ramBytesUsed, rewrite, toString, visit
Methods inherited from class org.apache.lucene.search.Query
classHash, sameClassAs, toString
-
Constructor Details
-
MultiFacetQuery
Creates a newMultiFacetQuery
filtering the query on the given dimension. -
MultiFacetQuery
Creates a newMultiFacetQuery
filtering the query on the given dimension.NOTE:Uses FacetsConfig.DEFAULT_DIM_CONFIG.
-