Class GroupDocs<T>
- java.lang.Object
-
- org.apache.lucene.search.grouping.GroupDocs<T>
-
public class GroupDocs<T> extends Object
Represents one group in the results.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description Object[]groupSortValuesMatches the groupSort passed toFirstPassGroupingCollector.TgroupValueThe groupField value for all docs in this group; this may be null if hits did not have the groupField.floatmaxScoreMax score in this groupfloatscoreOverall aggregated score of this group (currently only set by join queries).ScoreDoc[]scoreDocsHits; this may beFieldDocinstances if the withinGroupSort sorted by fields.TotalHitstotalHitsTotal hits within this group
-
-
-
Field Detail
-
groupValue
public final T groupValue
The groupField value for all docs in this group; this may be null if hits did not have the groupField.
-
maxScore
public final float maxScore
Max score in this group
-
score
public final float score
Overall aggregated score of this group (currently only set by join queries).
-
scoreDocs
public final ScoreDoc[] scoreDocs
Hits; this may beFieldDocinstances if the withinGroupSort sorted by fields.
-
totalHits
public final TotalHits totalHits
Total hits within this group
-
groupSortValues
public final Object[] groupSortValues
Matches the groupSort passed toFirstPassGroupingCollector.
-
-