Class DrillDownQuery
A Query for drill-down over facet categories. You should call Add(String, String[]) for every group of categories you want to drill-down over.
NOTE: if you choose to create your own Query by calling
Term(String, String, String[]), it is recommended to wrap it with ConstantScoreQuery
and set the Boost to 0.0f
,
so that it does not affect the scores of the documents.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public sealed class DrillDownQuery : Query
Constructors
Name | Description |
---|---|
DrillDownQuery(FacetsConfig) | Creates a new DrillDownQuery without a base query, to perform a pure browsing query (equivalent to using MatchAllDocsQuery as base). |
DrillDownQuery(FacetsConfig, Query) | Creates a new DrillDownQuery over the given base query. Can be
|
Methods
Name | Description |
---|---|
Add(String, Filter) | Expert: add a custom drill-down Filter, e.g. when drilling down after range faceting. |
Add(String, Query) | Expert: add a custom drill-down subQuery. Use this when you have a separate way to drill-down on the dimension than the indexed facet ordinals. |
Add(String, String[]) | Adds one dimension of drill downs; if you pass the same dimension more than once it is OR'd with the previous cofnstraints on that dimension, and all dimensions are AND'd against each other and the base query. |
Clone() | |
Equals(Object) | |
GetHashCode() | |
Rewrite(IndexReader) | |
Term(String, String, String[]) | Creates a drill-down term. |
ToString(String) |