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.grouping.function |
Support for grouping by
ValueSource . |
org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via
DocValues . |
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
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.SetCollector
Just collects document ids into a set.
|
class |
FilterLeafCollector
LeafCollector delegator. |
class |
SimpleCollector
Base
Collector implementation that is used to collect all contexts. |
class |
TotalHitCountCollector
Just counts the total number of hits.
|
Modifier and Type | Field and Description |
---|---|
protected LeafCollector |
FilterLeafCollector.in |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
DiversifiedTopDocsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
EarlyTerminatingSortingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
Collector.getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
LeafCollector |
PositiveScoresOnlyCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
MultiCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
FilterCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TimeLimitingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
SimpleCollector.getLeafCollector(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
void |
BulkScorer.score(LeafCollector collector,
Bits acceptDocs)
Scores and collects all matching documents.
|
int |
ConstantScoreQuery.ConstantBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
int |
Weight.DefaultBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
abstract int |
BulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max)
Collects matching documents in a range and return an estimation of the
next matching document which is on or after
max . |
Constructor and Description |
---|
FilterLeafCollector(LeafCollector in)
Sole constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAllGroupHeadsCollector<GH extends AbstractAllGroupHeadsCollector.GroupHead>
This collector specializes in collecting the most relevant document (group head) for each group that match the query.
|
class |
AbstractAllGroupsCollector<GROUP_VALUE_TYPE>
A collector that collects all groups that match the
query.
|
class |
AbstractDistinctValuesCollector<GC extends AbstractDistinctValuesCollector.GroupCount<?>>
A second pass grouping collector that keeps track of distinct values for a specified field for the top N group.
|
class |
AbstractFirstPassGroupingCollector<GROUP_VALUE_TYPE>
FirstPassGroupingCollector is the first of two passes necessary
to collect grouped hits.
|
class |
AbstractGroupFacetCollector
Base class for computing grouped facets.
|
class |
AbstractSecondPassGroupingCollector<GROUP_VALUE_TYPE>
SecondPassGroupingCollector is the second of two passes
necessary to collect grouped docs.
|
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. |
Modifier and Type | Field and Description |
---|---|
LeafCollector |
AbstractSecondPassGroupingCollector.SearchGroupDocs.leafCollector |
Modifier and Type | Class and Description |
---|---|
class |
FunctionAllGroupHeadsCollector
An implementation of
AbstractAllGroupHeadsCollector for retrieving the most relevant groups when grouping
by ValueSource . |
class |
FunctionAllGroupsCollector
A collector that collects all groups that match the
query.
|
class |
FunctionDistinctValuesCollector
Function based implementation of
AbstractDistinctValuesCollector . |
class |
FunctionFirstPassGroupingCollector
Concrete implementation of
AbstractFirstPassGroupingCollector that groups based on
ValueSource instances. |
class |
FunctionSecondPassGroupingCollector
Concrete implementation of
AbstractSecondPassGroupingCollector that groups based on
ValueSource instances. |
Modifier and Type | Class and Description |
---|---|
class |
TermAllGroupHeadsCollector<GH extends AbstractAllGroupHeadsCollector.GroupHead<?>>
A base implementation of
AbstractAllGroupHeadsCollector for retrieving the most relevant groups when grouping
on a string based group field. |
class |
TermAllGroupsCollector
A collector that collects all groups that match the
query.
|
class |
TermDistinctValuesCollector
A term based implementation of
AbstractDistinctValuesCollector that relies
on SortedDocValues to count the distinct values per group. |
class |
TermFirstPassGroupingCollector
Concrete implementation of
AbstractFirstPassGroupingCollector that groups based on
field values and more specifically uses SortedDocValues
to collect groups. |
class |
TermGroupFacetCollector
An implementation of
AbstractGroupFacetCollector that computes grouped facets based on the indexed terms
from DocValues. |
class |
TermSecondPassGroupingCollector
Concrete implementation of
AbstractSecondPassGroupingCollector that groups based on
field values and more specifically uses SortedDocValues
to collect grouped docs. |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
ToParentBlockJoinCollector.getLeafCollector(LeafReaderContext context) |
Modifier and Type | Class and Description |
---|---|
class |
TopSuggestDocsCollector
Collector that collects completion and
score, along with document id |
Modifier and Type | Method and Description |
---|---|
int |
CompletionScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.