Modifier and Type | Method and Description |
---|---|
TopGroups<GROUP_VALUE_TYPE> |
AbstractSecondPassGroupingCollector.getTopGroups(int withinGroupOffset) |
TopGroups |
BlockGroupingCollector.getTopGroups(org.apache.lucene.search.Sort withinGroupSort,
int groupOffset,
int withinGroupOffset,
int maxDocsPerGroup,
boolean fillSortFields)
Returns the grouped results.
|
static <T> TopGroups<T> |
TopGroups.merge(TopGroups<T>[] shardGroups,
org.apache.lucene.search.Sort groupSort,
org.apache.lucene.search.Sort docSort,
int docOffset,
int docTopN)
Merges an array of TopGroups, for example obtained
from the second-pass collector across multiple
shards.
|
Modifier and Type | Method and Description |
---|---|
static <T> TopGroups<T> |
TopGroups.merge(TopGroups<T>[] shardGroups,
org.apache.lucene.search.Sort groupSort,
org.apache.lucene.search.Sort docSort,
int docOffset,
int docTopN)
Merges an array of TopGroups, for example obtained
from the second-pass collector across multiple
shards.
|
Constructor and Description |
---|
TopGroups(TopGroups<GROUP_VALUE_TYPE> oldTopGroups,
Integer totalGroupCount) |