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
Modifier and TypeFieldDescriptionfinal Object[]
Matches the groupSort passed toFirstPassGroupingCollector
.final T
The groupField value for all docs in this group; this may be null if hits did not have the groupField.final float
Max score in this groupfinal float
Overall aggregated score of this group (currently only set by join queries).final ScoreDoc[]
Hits; this may beFieldDoc
instances if the withinGroupSort sorted by fields.final TotalHits
Total hits within this group -
Constructor Summary
-
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 beFieldDoc
instances if the withinGroupSort sorted by fields. -
totalHits
Total hits within this group -
groupSortValues
Matches the groupSort passed toFirstPassGroupingCollector
.
-
-
Constructor Details
-
GroupDocs
-