|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.grouping.GroupDocs
public class GroupDocs
Represents one group in the results.
| Field Summary | |
|---|---|
Comparable[] |
groupSortValues
Matches the groupSort passed to FirstPassGroupingCollector. |
String |
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 |
org.apache.lucene.search.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,
org.apache.lucene.search.ScoreDoc[] scoreDocs,
String groupValue,
Comparable[] 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 String groupValue
public final float maxScore
public final org.apache.lucene.search.ScoreDoc[] scoreDocs
FieldDoc instances if the
withinGroupSort sorted by fields.
public final int totalHits
public final Comparable[] groupSortValues
FirstPassGroupingCollector.
| Constructor Detail |
|---|
public GroupDocs(float maxScore,
int totalHits,
org.apache.lucene.search.ScoreDoc[] scoreDocs,
String groupValue,
Comparable[] groupSortValues)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||