Class DrillSideways
Computes drill down and sideways counts for the provided DrillDownQuery. Drill sideways counts include alternative values/aggregates for the drill-down dimensions so that a dimension does not disappear after the user drills down into it.
Use one of the static search methods to do the search, and then get the hits and facet results from the returned DrillSidewaysResult.
NOTE: this allocates one FacetsCollector for each drill-down, plus one. If your index has high number of facet labels then this will multiply your memory usage. @lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public class DrillSideways : IDisposable, IIdentifiableSurrogate
Constructors
Name | Description |
---|---|
DrillSideways(IndexSearcher, FacetsConfig, SortedSetDocValuesReaderState) | Create a new DrillSideways instance, assuming the categories were indexed with SortedSetDocValuesFacetField. |
DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader) | Create a new DrillSideways instance. |
DrillSideways(IndexSearcher, FacetsConfig, TaxonomyReader, SortedSetDocValuesReaderState) | Create a new DrillSideways instance, where some dimensions were indexed with SortedSetDocValuesFacetField and others were indexed with FacetField. |
Properties
Name | Description |
---|---|
LuceneRPCTransportLayer |
Methods
Name | Description |
---|---|
Dispose() | |
GetSurrogateId() | |
ScoreSubDocsAtOnce() | Override this and return true if your collector
(e.g., |
Search(DrillDownQuery, Filter, FieldDoc, Int32, Sort, Boolean, Boolean) | Search, sorting by Sort, and computing drill down and sideways counts. |
Search(DrillDownQuery, ICollector) | Search, collecting hits with a ICollector, and computing drill down and sideways counts. |
Search(DrillDownQuery, Int32) | Search, sorting by score, and computing drill down and sideways counts. |
Search(ScoreDoc, DrillDownQuery, Int32) | Search, sorting by score, and computing drill down and sideways counts. |