Modifier and Type | Method | 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 | 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 | Description |
---|---|
TopGroups(TopGroups<GROUP_VALUE_TYPE> oldTopGroups,
Integer totalGroupCount) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.