|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.grouping.GroupDocs<GROUP_VALUE_TYPE>
public class GroupDocs<GROUP_VALUE_TYPE>
Represents one group in the results.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
GroupDocs(float maxScore,
int totalHits,
ScoreDoc[] scoreDocs,
GROUP_VALUE_TYPE groupValue,
Object[] groupSortValues)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
public GroupDocs(float maxScore,
int totalHits,
ScoreDoc[] scoreDocs,
GROUP_VALUE_TYPE groupValue,
Object[] groupSortValues)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||