Uses of Interface
org.apache.lucene.search.LeafCollector
-
Packages that use LeafCollector Package Description org.apache.lucene.misc.search Misc search implementations.org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.sandbox.search This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.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.org.apache.lucene.search.suggest.document Support for document suggestion -
-
Uses of LeafCollector in org.apache.lucene.misc.search
Classes in org.apache.lucene.misc.search that implement LeafCollector Modifier and Type Class Description class
MemoryAccountingBitsetCollector
Bitset collector which supports memory trackingMethods in org.apache.lucene.misc.search that return LeafCollector Modifier and Type Method Description LeafCollector
DiversifiedTopDocsCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
DocValuesStatsCollector. getLeafCollector(LeafReaderContext context)
-
Uses of LeafCollector in org.apache.lucene.monitor
Classes in org.apache.lucene.monitor that implement LeafCollector Modifier and Type Class Description private class
CollectingMatcher.MatchCollector
(package private) static class
ReadonlyQueryIndex.LazyMonitorQueryCollector
A Collector that decodes the stored query for each document hit reparsing them everytime.(package private) static class
WritableQueryIndex.MonitorQueryCollector
A Collector that decodes the stored query for each document hit. -
Uses of LeafCollector in org.apache.lucene.sandbox.search
Methods in org.apache.lucene.sandbox.search that return LeafCollector Modifier and Type Method Description LeafCollector
LargeNumHitsTopDocsCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
ProfilerCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
ProfilerCollectorWrapper. getLeafCollector(LeafReaderContext context)
-
Uses of LeafCollector in org.apache.lucene.search
Classes in org.apache.lucene.search that implement LeafCollector Modifier and Type Class 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
BaseCollector
implementation that is used to collect all contexts.private class
TopFieldCollector.TopFieldLeafCollector
static class
TopScoreDocCollector.ScorerLeafCollector
Scorable leaf collectorFields in org.apache.lucene.search declared as LeafCollector Modifier and Type Field Description private LeafCollector[]
MultiCollector.MultiLeafCollector. collectors
protected LeafCollector
FilterLeafCollector. in
Methods in org.apache.lucene.search that return LeafCollector Modifier and Type Method Description LeafCollector
CachingCollector.NoScoreCachingCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
Collector. getLeafCollector(LeafReaderContext context)
Create a newcollector
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)
Deprecated.LeafCollector
TopFieldCollector.PagingFieldCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
TopFieldCollector.SimpleFieldCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
TopScoreDocCollector.PagingTopScoreDocCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
TopScoreDocCollector.SimpleTopScoreDocCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
TotalHitCountCollector. getLeafCollector(LeafReaderContext context)
private LeafCollector
ConstantScoreQuery.ConstantBulkScorer. wrapCollector(LeafCollector collector)
Methods in org.apache.lucene.search with parameters of type LeafCollector Modifier and Type Method Description protected void
CachingCollector.NoScoreCachingCollector. collect(LeafCollector collector, int i)
protected void
CachingCollector.ScoreCachingCollector. collect(LeafCollector collector, int i)
int
BlockMaxConjunctionBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
(package private) void
BooleanScorer.BulkScorerAndDoc. score(LeafCollector collector, Bits acceptDocs, int min, int max)
int
BooleanScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
void
BulkScorer. score(LeafCollector collector, Bits acceptDocs)
Scores and collects all matching documents.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 aftermax
.int
ConjunctionBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
int
ConstantScoreQuery.ConstantBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
int
MaxScoreBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
int
ReqExclBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
int
TimeLimitingBulkScorer. 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 fromWeight.DefaultBulkScorer.scoreRange(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.util.Bits, int, int)
to help out hotspot.private void
MaxScoreBulkScorer. scoreInnerWindow(LeafCollector collector, Bits acceptDocs, int max)
private void
MaxScoreBulkScorer. scoreInnerWindowAsConjunction(LeafCollector collector, Bits acceptDocs, int max)
private void
MaxScoreBulkScorer. scoreInnerWindowMultipleEssentialClauses(LeafCollector collector, Bits acceptDocs, int max)
private void
MaxScoreBulkScorer. scoreInnerWindowSingleEssentialClause(LeafCollector collector, Bits acceptDocs, int upTo)
private void
MaxScoreBulkScorer. scoreNonEssentialClauses(LeafCollector collector, int doc, double essentialScore, int numNonEssentialClauses)
(package private) static int
Weight.DefaultBulkScorer. scoreRange(LeafCollector collector, DocIdSetIterator iterator, TwoPhaseIterator twoPhase, DocIdSetIterator competitiveIterator, Bits acceptDocs, int min, int max)
Specialized method to bulk-score a range of hits; we separate this fromWeight.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 void
BlockMaxConjunctionBulkScorer. scoreWindow(LeafCollector collector, Bits acceptDocs, int min, int max, float maxWindowScore)
private BooleanScorer.BulkScorerAndDoc
BooleanScorer. scoreWindow(BooleanScorer.BulkScorerAndDoc top, LeafCollector collector, 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, 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)
Constructors in org.apache.lucene.search with parameters of type LeafCollector Constructor Description FilterLeafCollector(LeafCollector in)
Sole constructor.NoScoreCachingLeafCollector(LeafCollector in, int maxDocsToCache, CachingCollector.NoScoreCachingCollector collector)
ScoreCachingLeafCollector(LeafCollector in, int maxDocsToCache, CachingCollector.ScoreCachingCollector collector)
Constructor parameters in org.apache.lucene.search with type arguments of type LeafCollector Constructor Description MultiLeafCollector(java.util.List<LeafCollector> collectors, boolean cacheScores, boolean skipNonCompetitive)
-
Uses of LeafCollector in org.apache.lucene.search.grouping
Classes in org.apache.lucene.search.grouping that implement LeafCollector Modifier and Type Class 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 scoreprivate static class
AllGroupHeadsCollector.SortingGroupHeadsCollector<T>
General implementation using aFieldComparator
to select the group headclass
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 atomicIndexWriter.addDocuments()
orIndexWriter.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 aGroupReducer
to each groupclass
TermGroupFacetCollector
An implementation ofGroupFacetCollector
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 aTopGroups
objectprivate static class
TopGroupsCollector.MaxScoreCollector
Fields in org.apache.lucene.search.grouping declared as LeafCollector Modifier and Type Field Description (package private) LeafCollector
GroupReducer.GroupCollector. leafCollector
-
Uses of LeafCollector in org.apache.lucene.search.join
Classes in org.apache.lucene.search.join that implement LeafCollector Modifier and Type Class 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
Methods in org.apache.lucene.search.join that return LeafCollector Modifier and Type Method Description LeafCollector
GlobalOrdinalsCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
GlobalOrdinalsWithScoreCollector. getLeafCollector(LeafReaderContext context)
LeafCollector
GlobalOrdinalsWithScoreCollector.NoScore. getLeafCollector(LeafReaderContext context)
-
Uses of LeafCollector in org.apache.lucene.search.suggest.document
Classes in org.apache.lucene.search.suggest.document that implement LeafCollector Modifier and Type Class Description class
TopSuggestDocsCollector
Collector
that collects completion and score, along with document idMethods in org.apache.lucene.search.suggest.document with parameters of type LeafCollector Modifier and Type Method Description int
CompletionScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)
-