public class GroupDocs<GROUP_VALUE_TYPE> extends Object
Modifier and Type | Field | 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 | 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)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.