Class GroupDocs<TGroupValue>
Represents one group in the results.
@lucene.experimental
Inheritance
System.Object
GroupDocs<TGroupValue>
Implements
IGroupDocs <TGroupValue>
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public class GroupDocs<TGroupValue> : object, IGroupDocs<TGroupValue>
Type Parameters
Name | Description |
---|---|
TGroupValue |
Constructors
| Improve this Doc View SourceGroupDocs(Single, Single, Int32, ScoreDoc[], TGroupValue, Object[])
Declaration
public GroupDocs(float score, float maxScore, int totalHits, ScoreDoc[] scoreDocs, TGroupValue groupValue, object[] groupSortValues)
Parameters
Type | Name | Description |
---|---|---|
System. |
score | |
System. |
maxScore | |
System. |
totalHits | |
Score |
scoreDocs | |
TGroup |
groupValue | |
System. |
groupSortValues |
Properties
| Improve this Doc View SourceGroupSortValues
Matches the groupSort passed to AbstractFirstPassGroupingCollector<TGroupValue>.
Declaration
public object[] GroupSortValues { get; }
Property Value
Type | Description |
---|---|
System. |
GroupValue
The groupField value for all docs in this group; this may be null if hits did not have the groupField.
Declaration
public TGroupValue GroupValue { get; }
Property Value
Type | Description |
---|---|
TGroup |
MaxScore
Max score in this group
Declaration
public float MaxScore { get; }
Property Value
Type | Description |
---|---|
System. |
Score
Overall aggregated score of this group (currently only set by join queries).
Declaration
public float Score { get; }
Property Value
Type | Description |
---|---|
System. |
ScoreDocs
Hits; this may be Field
Declaration
public ScoreDoc[] ScoreDocs { get; }
Property Value
Type | Description |
---|---|
Score |
TotalHits
Total hits within this group
Declaration
public int TotalHits { get; }
Property Value
Type | Description |
---|---|
System. |