Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
Modifier and Type | Class and Description |
---|---|
class |
TotalHitCountCollector
Just counts the total number of hits.
|
Modifier and Type | Class and Description |
---|---|
class |
AllGroupHeadsCollector<T>
This collector specializes in collecting the most relevant document (group head) for each
group that matches the query.
|
private static class |
AllGroupHeadsCollector.ScoringGroupHeadsCollector<T>
Specialized implementation for sorting by score
|
private static class |
AllGroupHeadsCollector.SortingGroupHeadsCollector<T>
General implementation using a
FieldComparator to select the group head |
class |
AllGroupsCollector<T>
A collector that collects all groups that match the
query.
|
class |
BlockGroupingCollector
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. |
class |
DistinctValuesCollector<T,R>
A second pass grouping collector that keeps track of distinct values for a specified field for the top N group.
|
private static class |
DistinctValuesCollector.ValuesCollector<R> |
class |
FirstPassGroupingCollector<T>
FirstPassGroupingCollector is the first of two passes necessary
to collect grouped hits.
|
class |
GroupFacetCollector
Base class for computing grouped facets.
|
class |
SecondPassGroupingCollector<T>
SecondPassGroupingCollector runs over an already collected set of
groups, further applying a
GroupReducer to each group |
class |
TermGroupFacetCollector
An implementation of
GroupFacetCollector that computes grouped facets based on the indexed terms
from DocValues. |
(package private) static class |
TermGroupFacetCollector.MV |
(package private) static class |
TermGroupFacetCollector.SV |
class |
TopGroupsCollector<T>
A second-pass collector that collects the TopDocs for each group, and
returns them as a
TopGroups object |
private static class |
TopGroupsCollector.MaxScoreCollector |
Modifier and Type | Class and Description |
---|---|
(package private) class |
DocValuesTermsCollector<DV> |
(package private) class |
TermsCollector<DV>
A collector that collects all terms from a specified field matching the query.
|
(package private) static class |
TermsCollector.MV |
(package private) static class |
TermsCollector.SV |
(package private) class |
TermsWithScoreCollector<DV> |
(package private) static class |
TermsWithScoreCollector.MV |
(package private) static class |
TermsWithScoreCollector.MV.Avg |
(package private) static class |
TermsWithScoreCollector.SV |
(package private) static class |
TermsWithScoreCollector.SV.Avg |