Java org.apache.lucene.facet DrillDownQuery fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.facet DrillDownQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.facet DrillDownQuery.

The text is from its open source code.

Constructor

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.

Method

voidadd(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.
voidadd(String dim, Query subQuery)
Expert: add a custom drill-down subQuery.
Termterm(String field, String dim, String... path)
Creates a drill-down term.