Uses of Class
org.apache.lucene.search.grouping.SearchGroup
-
-
Uses of SearchGroup in org.apache.lucene.search.grouping
Subclasses of SearchGroup in org.apache.lucene.search.grouping Modifier and Type Class Description classCollectedSearchGroup<T>Expert: representation of a group inFirstPassGroupingCollector, tracking the top doc andFieldComparatorslot.Fields in org.apache.lucene.search.grouping with type parameters of type SearchGroup Modifier and Type Field Description protected Collection<SearchGroup<T>>SecondPassGroupingCollector. groupsMethods in org.apache.lucene.search.grouping that return types with arguments of type SearchGroup Modifier and Type Method Description Collection<SearchGroup<T>>FirstPassGroupingCollector. getTopGroups(int groupOffset)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 Modifier and Type Method Description 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.voidDoubleRangeGroupSelector. setGroups(Collection<SearchGroup<DoubleRange>> searchGroups)voidGroupReducer. setGroups(Collection<SearchGroup<T>> groups)Define which groups should be reduced.abstract voidGroupSelector. setGroups(Collection<SearchGroup<T>> groups)Set a restriction on the group values returned by this selectorvoidLongRangeGroupSelector. setGroups(Collection<SearchGroup<LongRange>> searchGroups)voidTermGroupSelector. setGroups(Collection<SearchGroup<BytesRef>> searchGroups)voidValueSourceGroupSelector. setGroups(Collection<SearchGroup<MutableValue>> searchGroups)Constructor parameters in org.apache.lucene.search.grouping with type arguments of type SearchGroup Constructor Description DistinctValuesCollector(GroupSelector<T> groupSelector, Collection<SearchGroup<T>> groups, GroupSelector<R> valueSelector)Create a DistinctValuesCollectorSecondPassGroupingCollector(GroupSelector<T> groupSelector, Collection<SearchGroup<T>> groups, GroupReducer<T,?> reducer)Create a new SecondPassGroupingCollectorTopGroupsCollector(GroupSelector<T> groupSelector, Collection<SearchGroup<T>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, boolean getMaxScores)Create a new TopGroupsCollector
-