Uses of Class
org.apache.lucene.search.grouping.SearchGroup
Packages that use SearchGroup
-
Uses of SearchGroup in org.apache.lucene.search.grouping
Subclasses of SearchGroup in org.apache.lucene.search.groupingModifier and TypeClassDescriptionclass
Expert: representation of a group inFirstPassGroupingCollector
, tracking the top doc andFieldComparator
slot.Fields in org.apache.lucene.search.grouping with type parameters of type SearchGroupModifier and TypeFieldDescriptionprotected final Collection
<SearchGroup<T>> SecondPassGroupingCollector.groups
final Iterator
<SearchGroup<T>> SearchGroup.ShardIter.iter
Methods in org.apache.lucene.search.grouping that return SearchGroupMethods in org.apache.lucene.search.grouping that return types with arguments of type SearchGroupModifier and TypeMethodDescriptionFirstPassGroupingCollector.getTopGroups
(int groupOffset) Returns top groups, starting from offset.SearchGroup.GroupMerger.merge
(List<Collection<SearchGroup<T>>> shards, int offset, int topN) 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 SearchGroupModifier and TypeMethodDescriptionSearchGroup.GroupMerger.merge
(List<Collection<SearchGroup<T>>> shards, int offset, int topN) 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.void
DoubleRangeGroupSelector.setGroups
(Collection<SearchGroup<DoubleRange>> searchGroups) void
GroupReducer.setGroups
(Collection<SearchGroup<T>> groups) Define which groups should be reduced.abstract void
GroupSelector.setGroups
(Collection<SearchGroup<T>> groups) Set a restriction on the group values returned by this selectorvoid
LongRangeGroupSelector.setGroups
(Collection<SearchGroup<LongRange>> searchGroups) void
TermGroupSelector.setGroups
(Collection<SearchGroup<BytesRef>> searchGroups) void
ValueSourceGroupSelector.setGroups
(Collection<SearchGroup<MutableValue>> searchGroups) Constructor parameters in org.apache.lucene.search.grouping with type arguments of type SearchGroupModifierConstructorDescriptionDistinctValuesCollector
(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 SecondPassGroupingCollectorShardIter
(Collection<SearchGroup<T>> shard, int shardIndex) TopGroupsCollector
(GroupSelector<T> groupSelector, Collection<SearchGroup<T>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, boolean getMaxScores) Create a new TopGroupsCollector