Class TopFieldCollector
A ICollector that sorts by SortField using FieldComparers.
See the Create(Sort, Int32, Boolean, Boolean, Boolean, Boolean) method for instantiating a TopFieldCollector.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class TopFieldCollector : TopDocsCollector<FieldValueHitQueue.Entry>, ITopDocsCollector, ICollector
Properties
Name | Description |
---|---|
AcceptsDocsOutOfOrder |
Methods
Name | Description |
---|---|
Create(Sort, Int32, FieldDoc, Boolean, Boolean, Boolean, Boolean) | Creates a new TopFieldCollector from the given arguments. NOTE: The instances returned by this method
pre-allocate a full array of length
|
Create(Sort, Int32, Boolean, Boolean, Boolean, Boolean) | Creates a new TopFieldCollector from the given arguments. NOTE: The instances returned by this method
pre-allocate a full array of length
|
NewTopDocs(ScoreDoc[], Int32) | |
PopulateResults(ScoreDoc[], Int32) |