## Uses of Class
org.apache.lucene.search.grouping.TopGroups

Uses of TopGroups in org.apache.lucene.search.grouping

Methods in org.apache.lucene.search.grouping that return TopGroups
`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.

Methods in org.apache.lucene.search.grouping with parameters of type TopGroups

`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.

Constructors in org.apache.lucene.search.grouping with parameters of type TopGroups
`TopGroups(TopGroups<GROUP_VALUE_TYPE> oldTopGroups, Integer totalGroupCount)`