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 TypeClassDescriptionclassBitset 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 classA Collector that decodes the stored query for each document hit reparsing them everytime.(package private) static final classA 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 classprivate classprivate classclassLeafCollectordelegator.private static classclassBaseCollectorimplementation that is used to collect all contexts.private classstatic classScorable leaf collectorFields in org.apache.lucene.search declared as LeafCollectorModifier and TypeFieldDescriptionprivate final LeafCollector[]MultiCollector.MultiLeafCollector.collectorsprotected final LeafCollectorFilterLeafCollector.inMethods in org.apache.lucene.search that return LeafCollectorModifier and TypeMethodDescriptionCachingCollector.NoScoreCachingCollector.getLeafCollector(LeafReaderContext context) Collector.getLeafCollector(LeafReaderContext context) Create a newcollectorto collect the given context.FilterCollector.getLeafCollector(LeafReaderContext context) MultiCollector.getLeafCollector(LeafReaderContext context) PositiveScoresOnlyCollector.getLeafCollector(LeafReaderContext context) final LeafCollectorSimpleCollector.getLeafCollector(LeafReaderContext context) TimeLimitingCollector.getLeafCollector(LeafReaderContext context) Deprecated.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 LeafCollectorConstantScoreQuery.ConstantBulkScorer.wrapCollector(LeafCollector collector) Methods in org.apache.lucene.search with parameters of type LeafCollectorModifier and TypeMethodDescriptionprotected voidCachingCollector.NoScoreCachingCollector.collect(LeafCollector collector, int i) protected voidCachingCollector.ScoreCachingCollector.collect(LeafCollector collector, int i) intBlockMaxConjunctionBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) (package private) voidBooleanScorer.BulkScorerAndDoc.score(LeafCollector collector, Bits acceptDocs, int min, int max) intBooleanScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) voidBulkScorer.score(LeafCollector collector, Bits acceptDocs) Scores and collects all matching documents.abstract intBulkScorer.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.intConjunctionBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intConstantScoreQuery.ConstantBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intMaxScoreBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intReqExclBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intTimeLimitingBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intWeight.DefaultBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) (package private) static voidWeight.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 voidMaxScoreBulkScorer.scoreInnerWindow(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowAsConjunction(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowMultipleEssentialClauses(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowSingleEssentialClause(LeafCollector collector, Bits acceptDocs, int upTo) private voidMaxScoreBulkScorer.scoreNonEssentialClauses(LeafCollector collector, int doc, double essentialScore, int numNonEssentialClauses) (package private) static intWeight.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 voidBlockMaxConjunctionBulkScorer.scoreWindow(LeafCollector collector, Bits acceptDocs, int min, int max, float maxWindowScore) private BooleanScorer.BulkScorerAndDocBooleanScorer.scoreWindow(BooleanScorer.BulkScorerAndDoc top, LeafCollector collector, Bits acceptDocs, int min, int max) private voidBooleanScorer.scoreWindowIntoBitSetAndReplay(LeafCollector collector, Bits acceptDocs, int base, int min, int max, BooleanScorer.BulkScorerAndDoc[] scorers, int numScorers) private voidBooleanScorer.scoreWindowMultipleScorers(LeafCollector collector, Bits acceptDocs, int windowBase, int windowMin, int windowMax, int maxFreq) private voidBooleanScorer.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 LeafCollectorConstantScoreQuery.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 LeafCollectorModifierConstructorDescriptionprivateMultiLeafCollector(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 TypeClassDescriptionclassThis collector specializes in collecting the most relevant document (group head) for each group that matches the query.private static classSpecialized implementation for sorting by scoreprivate static classGeneral implementation using aFieldComparatorto select the group headclassA collector that collects all groups that match the query.classBlockGroupingCollector 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.classA second pass grouping collector that keeps track of distinct values for a specified field for the top N group.private static classclassFirstPassGroupingCollector is the first of two passes necessary to collect grouped hits.classBase class for computing grouped facets.classSecondPassGroupingCollector runs over an already collected set of groups, further applying aGroupReducerto each groupclassAn implementation ofGroupFacetCollectorthat computes grouped facets based on the indexed terms from DocValues.(package private) static class(package private) static classclassA second-pass collector that collects the TopDocs for each group, and returns them as aTopGroupsobjectprivate static classFields in org.apache.lucene.search.grouping declared as LeafCollectorModifier and TypeFieldDescription(package private) LeafCollectorGroupReducer.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) classTermsCollector<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 classMethods 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 TypeClassDescriptionclassCollectorthat collects completion and score, along with document idMethods in org.apache.lucene.search.suggest.document with parameters of type LeafCollectorModifier and TypeMethodDescriptionintCompletionScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max)