Uses of Interface
org.apache.lucene.search.LeafCollector
Packages that use LeafCollector
Package
Description
Misc search implementations.
Monitoring framework
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Grouping.
Support for index-time and query-time joins.
Support for document suggestion
-
Uses of LeafCollector in org.apache.lucene.misc.search
Classes in org.apache.lucene.misc.search that implement LeafCollectorModifier and TypeClassDescriptionclass
Bitset collector which supports memory trackingMethods in org.apache.lucene.misc.search that return LeafCollectorModifier and TypeMethodDescriptionDiversifiedTopDocsCollector.getLeafCollector
(LeafReaderContext context) DocValuesStatsCollector.getLeafCollector
(LeafReaderContext context) -
Uses of LeafCollector in org.apache.lucene.monitor
Classes in org.apache.lucene.monitor that implement LeafCollectorModifier and TypeClassDescriptionprivate class
(package private) static final class
A Collector that decodes the stored query for each document hit reparsing them everytime.(package private) static final class
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 LeafCollectorModifier and TypeMethodDescriptionLargeNumHitsTopDocsCollector.getLeafCollector
(LeafReaderContext context) ProfilerCollector.getLeafCollector
(LeafReaderContext context) ProfilerCollectorWrapper.getLeafCollector
(LeafReaderContext context) -
Uses of LeafCollector in org.apache.lucene.search
Classes in org.apache.lucene.search that implement LeafCollectorModifier and TypeClassDescription(package private) final class
private class
private class
class
LeafCollector
delegator.private static class
class
BaseCollector
implementation that is used to collect all contexts.private class
static class
Scorable leaf collectorFields in org.apache.lucene.search declared as LeafCollectorModifier and TypeFieldDescriptionprivate final LeafCollector[]
MultiCollector.MultiLeafCollector.collectors
protected final LeafCollector
FilterLeafCollector.in
Methods in org.apache.lucene.search that return LeafCollectorModifier and TypeMethodDescriptionCachingCollector.NoScoreCachingCollector.getLeafCollector
(LeafReaderContext context) Collector.getLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.FilterCollector.getLeafCollector
(LeafReaderContext context) MultiCollector.getLeafCollector
(LeafReaderContext context) PositiveScoresOnlyCollector.getLeafCollector
(LeafReaderContext context) final LeafCollector
SimpleCollector.getLeafCollector
(LeafReaderContext context) TimeLimitingCollector.getLeafCollector
(LeafReaderContext context) TopFieldCollector.PagingFieldCollector.getLeafCollector
(LeafReaderContext context) TopFieldCollector.SimpleFieldCollector.getLeafCollector
(LeafReaderContext context) TopScoreDocCollector.PagingTopScoreDocCollector.getLeafCollector
(LeafReaderContext context) TopScoreDocCollector.SimpleTopScoreDocCollector.getLeafCollector
(LeafReaderContext context) TotalHitCountCollector.getLeafCollector
(LeafReaderContext context) private LeafCollector
ConstantScoreQuery.ConstantBulkScorer.wrapCollector
(LeafCollector collector) Methods in org.apache.lucene.search with parameters of type LeafCollectorModifier and TypeMethodDescriptionprotected 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) CachingCollector.NoScoreCachingCollector.wrap
(LeafCollector in, int maxDocsToCache) CachingCollector.ScoreCachingCollector.wrap
(LeafCollector in, int maxDocsToCache) private LeafCollector
ConstantScoreQuery.ConstantBulkScorer.wrapCollector
(LeafCollector collector) Constructors in org.apache.lucene.search with parameters of type LeafCollectorModifierConstructorDescriptionSole constructor.(package private)
NoScoreCachingLeafCollector
(LeafCollector in, int maxDocsToCache, CachingCollector.NoScoreCachingCollector collector) (package private)
ScoreCachingLeafCollector
(LeafCollector in, int maxDocsToCache, CachingCollector.ScoreCachingCollector collector) Constructor parameters in org.apache.lucene.search with type arguments of type LeafCollectorModifierConstructorDescriptionprivate
MultiLeafCollector
(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 LeafCollectorModifier and TypeClassDescriptionclass
This collector specializes in collecting the most relevant document (group head) for each group that matches the query.private static class
Specialized implementation for sorting by scoreprivate static class
General implementation using aFieldComparator
to select the group headclass
A collector that collects all groups that match the query.class
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
A second pass grouping collector that keeps track of distinct values for a specified field for the top N group.private static class
class
FirstPassGroupingCollector is the first of two passes necessary to collect grouped hits.class
Base class for computing grouped facets.class
SecondPassGroupingCollector runs over an already collected set of groups, further applying aGroupReducer
to each groupclass
An implementation ofGroupFacetCollector
that computes grouped facets based on the indexed terms from DocValues.(package private) static class
(package private) static class
class
A second-pass collector that collects the TopDocs for each group, and returns them as aTopGroups
objectprivate static class
Fields in org.apache.lucene.search.grouping declared as LeafCollectorModifier and TypeFieldDescription(package private) LeafCollector
GroupReducer.GroupCollector.leafCollector
-
Uses of LeafCollector in org.apache.lucene.search.join
Classes in org.apache.lucene.search.join that implement LeafCollectorModifier and TypeClassDescription(package private) class
(package private) final class
(package private) final class
(package private) final class
(package private) final class
(package private) class
TermsCollector<DV>
A collector that collects all terms from a specified field matching the query.(package private) static class
(package private) static class
(package private) class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
Methods in org.apache.lucene.search.join that return LeafCollectorModifier and TypeMethodDescriptionGlobalOrdinalsCollector.getLeafCollector
(LeafReaderContext context) GlobalOrdinalsWithScoreCollector.getLeafCollector
(LeafReaderContext context) 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 LeafCollectorModifier and TypeClassDescriptionclass
Collector
that collects completion and score, along with document idMethods in org.apache.lucene.search.suggest.document with parameters of type LeafCollectorModifier and TypeMethodDescriptionint
CompletionScorer.score
(LeafCollector collector, Bits acceptDocs, int min, int max)