Class FunctionSecondPassGroupingCollector
Concrete implementation of AbstractSecondPassGroupingCollector<TGroupValue> that groups based on
Value
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
FunctionSecondPassGroupingCollector
Inherited Members
Namespace: Lucene.Net.Search.Grouping.Function
Assembly: Lucene.Net.Grouping.dll
Syntax
public class FunctionSecondPassGroupingCollector : AbstractSecondPassGroupingCollector<MutableValue>, IAbstractSecondPassGroupingCollector<MutableValue>, ICollector
Constructors
| Improve this Doc View SourceFunctionSecondPassGroupingCollector(IEnumerable<ISearchGroup<MutableValue>>, Sort, Sort, Int32, Boolean, Boolean, Boolean, ValueSource, IDictionary)
Constructs a Function
Declaration
public FunctionSecondPassGroupingCollector(IEnumerable<ISearchGroup<MutableValue>> searchGroups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, bool getScores, bool getMaxScores, bool fillSortFields, ValueSource groupByVS, IDictionary vsContext)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ISearch |
searchGroups | The SearchGroup<TGroupValue> instances collected during the first phase. |
Sort | groupSort | The group sort |
Sort | withinGroupSort | The sort inside a group |
System. |
maxDocsPerGroup | The maximum number of documents to collect inside a group |
System. |
getScores | Whether to include the scores |
System. |
getMaxScores | Whether to include the maximum score |
System. |
fillSortFields | Whether to fill the sort values in Within |
Value |
groupByVS | The Value |
IDictionary | vsContext | The value source context |
Methods
| Improve this Doc View SourceRetrieveGroup(Int32)
Declaration
protected override AbstractSecondPassGroupingCollector.SearchGroupDocs<MutableValue> RetrieveGroup(int doc)
Parameters
Type | Name | Description |
---|---|---|
System. |
doc |
Returns
Type | Description |
---|---|
Abstract |
Overrides
Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.Mutable.MutableValue>.RetrieveGroup(System.Int32)
|
Improve this Doc
View Source
SetNextReader(AtomicReaderContext)
Declaration
public override void SetNextReader(AtomicReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
Atomic |
context |
Overrides
Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.Mutable.MutableValue>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)