C# (CSharp) Lucene.Net.Facet Namespace

Nested Namespaces

Lucene.Net.Facet.Range
Lucene.Net.Facet.SortedSet
Lucene.Net.Facet.Taxonomy

Classes

Name Description
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, 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

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

DrillSideways.DrillSidewaysResult Result of a drill sideways search, including the Facet.Facets and TopDocs.
FacetField Add an instance of this to your Document for every facet label.

NOTE: you must call FacetsConfig#build(Document) before you add the document to IndexWriter.

FacetResult Counts or aggregates for a single dimension.
FacetsCollector Collects hits for subsequent faceting. Once you've run a search and collect hits into this, instantiate one of the Collector subclasses to do the facet counting. Use the {@code search} utility methods to perform an "ordinary" search but also collect into a Facets.
FacetsCollector.Docs Used during collection to record matching docs and then return a DocIdSet that contains them.
FacetsCollector.DocsAnonymousInnerClassHelper
FacetsCollector.MatchingDocs Holds the documents that were matched in the AtomicReaderContext. If scores were required, then {@code scores} is not null.
LabelAndValue Single label and its value, usually contained in a FacetResult.
MultiFacets Maps specified dims to provided Facets impls; else, uses the default Facets impl.
SlowRAMDirectory Test utility - slow directory
SlowRAMDirectory.SlowIndexInput Delegate class to wrap an IndexInput and delay reading bytes by some specified time.
SlowRAMDirectory.SlowIndexOutput Delegate class to wrap an IndexOutput and delay writing bytes by some specified time.
TestDrillDownQuery
TestFacetsConfig
TestFacetsConfig.FacetsConfigAnonymousInnerClassHelper
TestMultipleIndexFields
TestRandomSamplingFacetsCollector