Class FacetsCollector
Collects hits for subsequent faceting. Once you've run a search and collect hits into this, instantiate one of the ICollector subclasses to do the facet counting. Use the Search utility methods (such as Search(IndexSearcher, Query, Int32, ICollector)) to perform an "ordinary" search but also collect into a Facets.
Inheritance
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public class FacetsCollector : object, ICollector, IDisposable, IIdentifiableSurrogate
Constructors
Name | Description |
---|---|
FacetsCollector(Boolean, String) | Create this; if |
FacetsCollector(String) | Default constructor |
Fields
Name | Description |
---|---|
_disposed | |
_objectUID | |
_surrogateObject |
Properties
Name | Description |
---|---|
AcceptsDocsOutOfOrder | |
KeepScores | True if scores were saved. |
Methods
Name | Description |
---|---|
Collect(Int32) | |
Dispose() | |
GetMatchingDocs() | Returns the documents matched by the query, one FacetsCollector.MatchingDocs per visited segment. |
GetSurrogateId() | |
Search(IndexSearcher, Query, Filter, Int32, ICollector) | Utility method, to search and also collect all hits into the provided ICollector. |
Search(IndexSearcher, Query, Filter, Int32, Sort, ICollector) | Utility method, to search and also collect all hits into the provided ICollector. |
Search(IndexSearcher, Query, Filter, Int32, Sort, Boolean, Boolean, ICollector) | Utility method, to search and also collect all hits into the provided ICollector. |
Search(IndexSearcher, Query, Int32, ICollector) | Utility method, to search and also collect all hits into the provided ICollector. |
SetNextReader(AtomicReaderContext) | |
SetScorer(Scorer) |