This collector specializes in collecting the most relevant document (group head) for each group
that matches the query.
Holds the merged group heads and provides access as an
int[] or
Bits.
A collector that collects all groups that match the query.
BlockGroupingCollector performs grouping with a single pass collector, as long as you are
grouping by a doc block field, ie all documents sharing a given group value were indexed as a doc
block using the atomic
IndexWriter.addDocuments() or
IndexWriter.updateDocuments() API.
A second pass grouping collector that keeps track of distinct values for a specified field for
the top N group.
Represents a contiguous range of double values, with an inclusive minimum and exclusive maximum
Groups double values into ranges
FirstPassGroupingCollector is the first of two passes necessary to collect grouped hits.
Represents one group in the results.
Base class for computing grouped facets.
Represents a facet entry with a value and a count.
The grouped facet result.
Contains the local grouped segment counts for a particular segment.
Convenience class to perform grouping in a non distributed environment.
Concrete implementations of this class define what to collect for individual groups during the
second-pass of a grouping search.
Defines a group, for use by grouping collectors
What to do with the current value
Represents a contiguous range of long values, with an inclusive minimum and exclusive maximum
Groups double values into ranges
Represents a group that is found during the first pass search.
SecondPassGroupingCollector runs over an already collected set of groups, further applying a
GroupReducer to each group
An implementation of
GroupFacetCollector that computes grouped facets based on the
indexed terms from DocValues.
Represents result returned by a grouping search.
How the GroupDocs score (if any) should be merged.
A second-pass collector that collects the TopDocs for each group, and returns them as a
TopGroups object