Namespace Lucene.Net.Search.Grouping.Terms
Support for grouping by indexed terms via <xref:Lucene.Net.Search.FieldCache>.
Classes
TermAllGroupHeadsCollector
LUCENENET specific class used to mimic the synatax used to access static members of TermAllGroupHeadsCollector<GH> without specifying its generic closing type. (TermAllGroupHeadsCollector.Create() rather than TermAllGroupHeadsCollector{GH}.Create()).
TermAllGroupHeadsCollector<GH>
A base implementation of AbstractAllGroupHeadsCollector<GH> for retrieving the most relevant groups when grouping on a string based group field. More specifically this all concrete implementations of this base implementation use Lucene.Net.Index.SortedDocValues.
Note
This API is experimental and might change in incompatible ways in the next release.
TermAllGroupsCollector
A collector that collects all groups that match the query. Only the group value is collected, and the order is undefined. This collector does not determine the most relevant document of a group.
Implementation detail: an int hash set (SentinelIntSet) is used to detect if a group is already added to the total count. For each segment the int set is cleared and filled with previous counted groups that occur in the new segment.
Note
This API is experimental and might change in incompatible ways in the next release.
TermDistinctValuesCollector
A term based implementation of AbstractDistinctValuesCollector{TermDistinctValuesCollector.GroupCount} that relies on Lucene.Net.Index.SortedDocValues to count the distinct values per group.
Note
This API is experimental and might change in incompatible ways in the next release.
TermDistinctValuesCollector.GroupCount
Holds distinct values for a single group.
Note
This API is experimental and might change in incompatible ways in the next release.
TermFirstPassGroupingCollector
Concrete implementation of AbstractFirstPassGroupingCollector<TGroupValue> that groups based on field values and more specifically uses Lucene.Net.Index.SortedDocValues to collect groups.
Note
This API is experimental and might change in incompatible ways in the next release.
TermGroupFacetCollector
An implementation of AbstractGroupFacetCollector that computes grouped facets based on the indexed terms from the Lucene.Net.Search.FieldCache.
Note
This API is experimental and might change in incompatible ways in the next release.
TermSecondPassGroupingCollector
Concrete implementation of AbstractSecondPassGroupingCollector<TGroupValue> that groups based on field values and more specifically uses Lucene.Net.Index.SortedDocValues to collect grouped docs.
Note
This API is experimental and might change in incompatible ways in the next release.