Package | Description |
---|---|
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Class and Description |
---|---|
class |
FacetsCollector
Collects hits for subsequent faceting.
|
class |
RandomSamplingFacetsCollector
Collects hits for subsequent faceting, using sampling if needed.
|
Modifier and Type | Class and Description |
---|---|
static class |
CheckHits.ExplanationAsserter
Asserts that the score explanation for every document matching a
query corresponds with the true score.
|
static class |
CheckHits.MatchesAsserter
Asserts that the
Matches from a query is non-null whenever
the document its created for is a hit. |
static class |
CheckHits.SetCollector
Just collects document ids into a set.
|
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.
|
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.
|
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. |
class |
TopGroupsCollector<T>
A second-pass collector that collects the TopDocs for each group, and
returns them as a
TopGroups object |
Modifier and Type | Class and Description |
---|---|
class |
TopSuggestDocsCollector
Collector that collects completion and
score, along with document id |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.