Class TopGroups<TGroupValue>
Represents result returned by a grouping search.
@lucene.experimental
Inheritance
System.Object
TopGroups<TGroupValue>
Assembly: Lucene.Net.Grouping.dll
Syntax
public class TopGroups<TGroupValue> : object, ITopGroups<TGroupValue>
Type Parameters
Name | Description |
---|---|
TGroupValue |
Constructors
Name | Description |
---|---|
TopGroups(ITopGroups<TGroupValue>, Nullable<Int32>) | |
TopGroups(SortField[], SortField[], Int32, Int32, IGroupDocs<TGroupValue>[], Single) |
Properties
Name | Description |
---|---|
Groups | Group results in groupSort order |
GroupSort | How groups are sorted against each other |
MaxScore | Highest score across all hits, or
|
TotalGroupCount | The total number of unique groups. If |
TotalGroupedHitCount | Number of documents grouped into the topN groups |
TotalHitCount | Number of documents matching the search |
WithinGroupSort | How docs are sorted within each group |