Example usage for Java org.apache.lucene.facet DrillDownQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
DrillDownQuery(FacetsConfig config) Creates a new DrillDownQuery without a base query, to perform a pure browsing query (equivalent to using MatchAllDocsQuery as base). | |
DrillDownQuery(FacetsConfig config, Query baseQuery) Creates a new DrillDownQuery over the given base query. |
void | add(String dim, String... path) Adds one dimension of drill downs; if you pass the same dimension more than once it is OR'd with the previous constraints on that dimension, and all dimensions are AND'd against each other and the base query. |
void | add(String dim, Query subQuery) Expert: add a custom drill-down subQuery. |
Term | term(String field, String dim, String... path) Creates a drill-down term. |