public class GroupDocs<GROUP_VALUE_TYPE> extends Object
Modifier and Type | Field and Description |
---|---|
Object[] |
groupSortValues
Matches the groupSort passed to
AbstractFirstPassGroupingCollector . |
GROUP_VALUE_TYPE |
groupValue
The groupField value for all docs in this group; this
may be null if hits did not have the groupField.
|
float |
maxScore
Max score in this group
|
ScoreDoc[] |
scoreDocs
Hits; this may be
FieldDoc instances if the
withinGroupSort sorted by fields. |
int |
totalHits
Total hits within this group
|
Constructor and Description |
---|
GroupDocs(float maxScore,
int totalHits,
ScoreDoc[] scoreDocs,
GROUP_VALUE_TYPE groupValue,
Object[] groupSortValues) |
public final GROUP_VALUE_TYPE groupValue
public final float maxScore
public final ScoreDoc[] scoreDocs
FieldDoc
instances if the
withinGroupSort sorted by fields.public final int totalHits
public final Object[] groupSortValues
AbstractFirstPassGroupingCollector
.public GroupDocs(float maxScore, int totalHits, ScoreDoc[] scoreDocs, GROUP_VALUE_TYPE groupValue, Object[] groupSortValues)