Constructor FunctionSecondPassGroupingCollector
FunctionSecondPassGroupingCollector(IEnumerable<ISearchGroup<MutableValue>>, Sort, Sort, Int32, Boolean, Boolean, Boolean, ValueSource, IDictionary)
Constructs a FunctionSecondPassGroupingCollector instance.
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<ISearchGroup<MutableValue>> | searchGroups | The SearchGroup<TGroupValue> instances collected during the first phase. |
Sort | groupSort | The group sort |
Sort | withinGroupSort | The sort inside a group |
System.Int32 | maxDocsPerGroup | The maximum number of documents to collect inside a group |
System.Boolean | getScores | Whether to include the scores |
System.Boolean | getMaxScores | Whether to include the maximum score |
System.Boolean | fillSortFields | Whether to fill the sort values in WithinGroupSort |
ValueSource | groupByVS | The ValueSource to group by |
IDictionary | vsContext | The value source context |