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

Packages that use TopGroups
org.apache.lucene.search.grouping: This module enables search result grouping with Lucene, where hits with the same value in the specified single-valued group field are grouped together.
org.apache.lucene.search.join: This modules support index-time and query-time joins.

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(Sort withinGroupSort, int groupOffset, int withinGroupOffset, int maxDocsPerGroup, boolean fillSortFields)` Returns the grouped results.

`static

`<T> TopGroups<T>`

`

`TopGroups.merge(TopGroups<T>[] shardGroups, Sort groupSort, 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, Sort groupSort, 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)`

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

Methods in org.apache.lucene.search.join that return TopGroups
`TopGroups<Integer>` `ToParentBlockJoinCollector.getTopGroups(ToParentBlockJoinQuery query, Sort withinGroupSort, int offset, int maxDocsPerGroup, int withinGroupOffset, boolean fillSortFields)` Return the TopGroups for the specified BlockJoinQuery.