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
public class MultiFacetQuery extends TermInSetQuery
A multi-termsQuery
over aFacetField
.NOTE:This helper class is an alternative to
DrillDownQuery
especially in cases where you don't intend to useDrillSideways
- See Also:
TermInSetQuery
- 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
Constructors Constructor Description MultiFacetQuery(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 Detail
-
MultiFacetQuery
public MultiFacetQuery(FacetsConfig facetsConfig, String dimension, String[]... paths)
Creates a newMultiFacetQuery
filtering the query on the given dimension.
-
-