Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use SearchGroup
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.

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

Methods in org.apache.lucene.search.grouping that return types with arguments of type SearchGroup
`Collection<SearchGroup<GROUP_VALUE_TYPE>>` | `AbstractFirstPassGroupingCollector.getTopGroups(int groupOffset, boolean fillFields)` Returns top groups, starting from offset.
`static
`<T> Collection<SearchGroup<T>>`
` | `SearchGroup.merge(List<Collection<SearchGroup<T>>> topGroups, int offset, int topN, Sort groupSort)` Merges multiple collections of top groups, for example obtained from separate index shards.

Method parameters in org.apache.lucene.search.grouping with type arguments of type SearchGroup
`static
`<T> Collection<SearchGroup<T>>`
` | `SearchGroup.merge(List<Collection<SearchGroup<T>>> topGroups, int offset, int topN, Sort groupSort)` Merges multiple collections of top groups, for example obtained from separate index shards.

Constructor parameters in org.apache.lucene.search.grouping with type arguments of type SearchGroup
`AbstractSecondPassGroupingCollector(Collection<SearchGroup<GROUP_VALUE_TYPE>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, boolean getScores, boolean getMaxScores, boolean fillSortFields)`
`TermSecondPassGroupingCollector(String groupField, Collection<SearchGroup<String>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, boolean getScores, boolean getMaxScores, boolean fillSortFields)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES