Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BooleanScorer.OrCollector |
private class |
CachingCollector.NoScoreCachingLeafCollector |
private class |
CachingCollector.ScoreCachingLeafCollector |
class |
FilterLeafCollector
LeafCollector delegator. |
private static class |
MultiCollector.MultiLeafCollector |
class |
SimpleCollector
Base
Collector implementation that is used to collect all contexts. |
private static class |
TopFieldCollector.MultiComparatorLeafCollector |
private static class |
TopFieldCollector.OneComparatorLeafCollector |
(package private) static class |
TopScoreDocCollector.ScorerLeafCollector |
class |
TotalHitCountCollector
Just counts the total number of hits.
|
Modifier and Type | Field and Description |
---|---|
private LeafCollector[] |
MultiCollector.MultiLeafCollector.collectors |
protected LeafCollector |
FilterLeafCollector.in |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
CachingCollector.NoScoreCachingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
Collector.getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
LeafCollector |
FilterCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
MultiCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
PositiveScoresOnlyCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
SimpleCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TimeLimitingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopFieldCollector.SimpleFieldCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopFieldCollector.PagingFieldCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopScoreDocCollector.SimpleTopScoreDocCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TopScoreDocCollector.PagingTopScoreDocCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
DiversifiedTopDocsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
EarlyTerminatingSortingCollector.getLeafCollector(LeafReaderContext context) |
private LeafCollector |
ConstantScoreQuery.ConstantBulkScorer.wrapCollector(LeafCollector collector) |
Modifier and Type | Method and Description |
---|---|
protected void |
CachingCollector.NoScoreCachingCollector.collect(LeafCollector collector,
int i) |
protected void |
CachingCollector.ScoreCachingCollector.collect(LeafCollector collector,
int i) |
void |
BulkScorer.score(LeafCollector collector,
Bits acceptDocs)
Scores and collects all matching documents.
|
int |
BooleanScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
(package private) void |
BooleanScorer.BulkScorerAndDoc.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
int |
BooleanTopLevelScorers.BoostedBulkScorer.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 . |
int |
ConstantScoreQuery.ConstantBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
int |
ReqExclBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
int |
Weight.DefaultBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
(package private) static void |
Weight.DefaultBulkScorer.scoreAll(LeafCollector collector,
DocIdSetIterator iterator,
TwoPhaseIterator twoPhase,
Bits acceptDocs)
Specialized method to bulk-score all hits; we
separate this from
Weight.DefaultBulkScorer.scoreRange(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.util.Bits, int, int) to help out
hotspot. |
private void |
BooleanScorer.scoreDocument(LeafCollector collector,
int base,
int i) |
private void |
BooleanScorer.scoreMatches(LeafCollector collector,
int base) |
(package private) static int |
Weight.DefaultBulkScorer.scoreRange(LeafCollector collector,
DocIdSetIterator iterator,
TwoPhaseIterator twoPhase,
Bits acceptDocs,
int currentDoc,
int end)
Specialized method to bulk-score a range of hits; we
separate this from
Weight.DefaultBulkScorer.scoreAll(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.util.Bits) to help out
hotspot. |
private BooleanScorer.BulkScorerAndDoc |
BooleanScorer.scoreWindow(BooleanScorer.BulkScorerAndDoc top,
LeafCollector collector,
LeafCollector singleClauseCollector,
Bits acceptDocs,
int min,
int max) |
private void |
BooleanScorer.scoreWindowIntoBitSetAndReplay(LeafCollector collector,
Bits acceptDocs,
int base,
int min,
int max,
BooleanScorer.BulkScorerAndDoc[] scorers,
int numScorers) |
private void |
BooleanScorer.scoreWindowMultipleScorers(LeafCollector collector,
Bits acceptDocs,
int windowBase,
int windowMin,
int windowMax,
int maxFreq) |
private void |
BooleanScorer.scoreWindowSingleScorer(BooleanScorer.BulkScorerAndDoc bulkScorer,
LeafCollector collector,
LeafCollector singleClauseCollector,
Bits acceptDocs,
int windowMin,
int windowMax,
int max) |
protected CachingCollector.NoScoreCachingLeafCollector |
CachingCollector.NoScoreCachingCollector.wrap(LeafCollector in,
int maxDocsToCache) |
protected CachingCollector.NoScoreCachingLeafCollector |
CachingCollector.ScoreCachingCollector.wrap(LeafCollector in,
int maxDocsToCache) |
private LeafCollector |
ConstantScoreQuery.ConstantBulkScorer.wrapCollector(LeafCollector collector) |
Constructor and Description |
---|
FilterLeafCollector(LeafCollector in)
Sole constructor.
|
NoScoreCachingLeafCollector(LeafCollector in,
int maxDocsToCache) |
ScoreCachingLeafCollector(LeafCollector in,
int maxDocsToCache) |
Constructor and Description |
---|
MultiLeafCollector(java.util.List<LeafCollector> collectors,
boolean cacheScores) |
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. |
(package private) static class |
TermAllGroupHeadsCollector.GeneralAllGroupHeadsCollector |
(package private) static class |
TermAllGroupHeadsCollector.OrdAllGroupHeadsCollector |
(package private) static class |
TermAllGroupHeadsCollector.OrdScoreAllGroupHeadsCollector |
(package private) static class |
TermAllGroupHeadsCollector.ScoreAllGroupHeadsCollector |
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. |
(package private) static class |
TermGroupFacetCollector.MV |
(package private) static class |
TermGroupFacetCollector.SV |
class |
TermSecondPassGroupingCollector
Concrete implementation of
AbstractSecondPassGroupingCollector that groups based on
field values and more specifically uses SortedDocValues
to collect grouped docs. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
DocValuesTermsCollector<DV> |
(package private) class |
GlobalOrdinalsCollector.OrdinalMapCollector |
(package private) class |
GlobalOrdinalsCollector.SegmentOrdinalCollector |
(package private) class |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector |
(package private) class |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector |
(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 |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
GlobalOrdinalsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
GlobalOrdinalsWithScoreCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
GlobalOrdinalsWithScoreCollector.NoScore.getLeafCollector(LeafReaderContext context) |
LeafCollector |
ToParentBlockJoinCollector.getLeafCollector(LeafReaderContext context) |