|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.grouping.TopGroups
public class TopGroups
Represents result returned by a grouping search.
Field Summary | |
---|---|
GroupDocs[] |
groups
Group results in groupSort order |
org.apache.lucene.search.SortField[] |
groupSort
How groups are sorted against each other |
Integer |
totalGroupCount
The total number of unique groups. |
int |
totalGroupedHitCount
Number of documents grouped into the topN groups |
int |
totalHitCount
Number of documents matching the search |
org.apache.lucene.search.SortField[] |
withinGroupSort
How docs are sorted within each group |
Constructor Summary | |
---|---|
TopGroups(org.apache.lucene.search.SortField[] groupSort,
org.apache.lucene.search.SortField[] withinGroupSort,
int totalHitCount,
int totalGroupedHitCount,
GroupDocs[] groups)
|
|
TopGroups(TopGroups oldTopGroups,
Integer totalGroupCount)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int totalHitCount
public final int totalGroupedHitCount
public final Integer totalGroupCount
null
this value is not computed.
public final GroupDocs[] groups
public final org.apache.lucene.search.SortField[] groupSort
public final org.apache.lucene.search.SortField[] withinGroupSort
Constructor Detail |
---|
public TopGroups(org.apache.lucene.search.SortField[] groupSort, org.apache.lucene.search.SortField[] withinGroupSort, int totalHitCount, int totalGroupedHitCount, GroupDocs[] groups)
public TopGroups(TopGroups oldTopGroups, Integer totalGroupCount)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |