Class GroupDocs<T>
java.lang.Object
org.apache.lucene.search.grouping.GroupDocs<T>
Represents one group in the results.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Object[]Matches the groupSort passed toFirstPassGroupingCollector.final TThe groupField value for all docs in this group; this may be null if hits did not have the groupField.final floatMax score in this groupfinal floatOverall aggregated score of this group (currently only set by join queries).final ScoreDoc[]Hits; this may beFieldDocinstances if the withinGroupSort sorted by fields.final TotalHitsTotal hits within this group -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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 maxScoreMax score in this group -
score
public final float scoreOverall aggregated score of this group (currently only set by join queries). -
scoreDocs
Hits; this may beFieldDocinstances if the withinGroupSort sorted by fields. -
totalHits
Total hits within this group -
groupSortValues
Matches the groupSort passed toFirstPassGroupingCollector.
-
-
Constructor Details
-
GroupDocs
-