Class TermSecondPassGroupingCollector
Concrete implementation of AbstractSecondPassGroupingCollector<TGroupValue> that groups based on field values and more specifically uses Lucene.Net.Index.SortedDocValues to collect grouped docs.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>
TermSecondPassGroupingCollector
Implements
IAbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>
Lucene.Net.Search.ICollector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search.Grouping.Terms
Assembly: Lucene.Net.Grouping.dll
Syntax
public class TermSecondPassGroupingCollector : AbstractSecondPassGroupingCollector<BytesRef>, IAbstractSecondPassGroupingCollector<BytesRef>, ICollector
Constructors
| Improve this Doc View SourceTermSecondPassGroupingCollector(String, IEnumerable<ISearchGroup<BytesRef>>, Sort, Sort, Int32, Boolean, Boolean, Boolean)
Declaration
public TermSecondPassGroupingCollector(string groupField, IEnumerable<ISearchGroup<BytesRef>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, bool getScores, bool getMaxScores, bool fillSortFields)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupField | |
System.Collections.Generic.IEnumerable<ISearchGroup<Lucene.Net.Util.BytesRef>> | groups | |
Lucene.Net.Search.Sort | groupSort | |
Lucene.Net.Search.Sort | withinGroupSort | |
System.Int32 | maxDocsPerGroup | |
System.Boolean | getScores | |
System.Boolean | getMaxScores | |
System.Boolean | fillSortFields |
Methods
| Improve this Doc View SourceRetrieveGroup(Int32)
Declaration
protected override AbstractSecondPassGroupingCollector.SearchGroupDocs<BytesRef> RetrieveGroup(int doc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | doc |
Returns
Type | Description |
---|---|
AbstractSecondPassGroupingCollector.SearchGroupDocs<Lucene.Net.Util.BytesRef> |
Overrides
Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>.RetrieveGroup(System.Int32)
|
Improve this Doc
View Source
SetNextReader(AtomicReaderContext)
Declaration
public override void SetNextReader(AtomicReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.AtomicReaderContext | context |
Overrides
Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)
Implements
Lucene.Net.Search.ICollector