public class FacetQuery extends TermQuery
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 and Description |
|---|
FacetQuery(FacetsConfig facetsConfig,
String dimension,
String... path)
Creates a new
FacetQuery filtering the query on the given dimension. |
FacetQuery(String dimension,
String... path)
Creates a new
FacetQuery filtering the query on the given dimension. |
createWeight, equals, getTerm, getTermStates, hashCode, toString, visitclassHash, rewrite, sameClassAs, toStringpublic FacetQuery(FacetsConfig facetsConfig, String dimension, String... path)
FacetQuery filtering the query on the given dimension.Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.