Uses of Interface
org.apache.lucene.search.LeafCollector
Packages that use LeafCollector
Package
Description
Faceted search.
Misc search implementations.
Monitoring framework
Sandbox faceting - Collectors that compute facets.
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.facet
Classes in org.apache.lucene.facet that implement LeafCollectorModifier and TypeClassDescriptionclassCollects hits for subsequent faceting.private static classclassCollects hits for subsequent faceting, using sampling if needed.private static classFields in org.apache.lucene.facet declared as LeafCollectorModifier and TypeFieldDescription(package private) final LeafCollectorDrillSidewaysScorer.DocsAndCost.sidewaysLeafCollectorMethods in org.apache.lucene.facet with parameters of type LeafCollectorModifier and TypeMethodDescriptionprivate voidDrillSidewaysScorer.collectHit(LeafCollector collector, List<DrillSidewaysScorer.DocsAndCost> dims) private voidDrillSidewaysScorer.collectHit(LeafCollector collector, DrillSidewaysScorer.DocsAndCost dim) private voidDrillSidewaysScorer.collectHit(LeafCollector collector, DrillSidewaysScorer.DocsAndCost[] dims) private voidDrillSidewaysScorer.collectNearMiss(LeafCollector sidewaysCollector) private voidDrillSidewaysScorer.doDrillDownAdvanceScoring(Bits acceptDocs, LeafCollector collector, DrillSidewaysScorer.DocsAndCost[] dims) Used when drill downs are highly constraining vs baseQuery.private voidDrillSidewaysScorer.doQueryFirstScoring(Bits acceptDocs, LeafCollector collector, DrillSidewaysScorer.DocsAndCost[] dims) Used when base query is highly constraining vs the drilldowns, or when the docs must be scored at once (i.e., like BooleanScorer2, not BooleanScorer).private voidDrillSidewaysScorer.doQueryFirstScoringSingleDim(Bits acceptDocs, LeafCollector collector, DrillSidewaysScorer.DocsAndCost dim) Query-first scoring specialization when there is only one drill-sideways dimension, which is likely a common scenario.private voidDrillSidewaysScorer.doUnionScoring(Bits acceptDocs, LeafCollector collector, DrillSidewaysScorer.DocsAndCost[] dims) intDrillSidewaysScorer.score(LeafCollector collector, Bits acceptDocs, int min, int maxDoc) private voidDrillSidewaysScorer.setScorer(LeafCollector mainCollector, Scorable scorer) Constructors in org.apache.lucene.facet with parameters of type LeafCollectorModifierConstructorDescription(package private)DocsAndCost(Scorer scorer, LeafCollector sidewaysLeafCollector) -
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.facet
Classes in org.apache.lucene.sandbox.facet that implement LeafCollectorModifier and TypeClassDescription(package private) final classMethods in org.apache.lucene.sandbox.facet that return LeafCollectorModifier and TypeMethodDescriptionFacetFieldCollector.getLeafCollector(LeafReaderContext context) -
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 TypeClassDescriptionprivate classprivate classclassLeafCollectordelegator.private static classprivate static classclassBaseCollectorimplementation that is used to collect all contexts.private classFields 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 TypeMethodDescriptionprotected final LeafCollectorTotalHitCountCollector.createLeafCollector()CachingCollector.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) TopFieldCollector.PagingFieldCollector.getLeafCollector(LeafReaderContext context) TopFieldCollector.SimpleFieldCollector.getLeafCollector(LeafReaderContext context) TopScoreDocCollector.getLeafCollector(LeafReaderContext context) TotalHitCountCollector.getLeafCollector(LeafReaderContext context) TotalHitCountCollectorManager.LeafPartitionAwareTotalHitCountCollector.getLeafCollector(LeafReaderContext context) static LeafCollectorScoreCachingWrappingScorer.wrap(LeafCollector collector) Wrap the providedLeafCollectorso that scores are computed lazily and cached if accessed multiple times.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) intBooleanScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) 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) intDisjunctionMaxBulkScorer.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, DisiWrapper filter) 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.scoreInnerWindowWithFilter(LeafCollector collector, Bits acceptDocs, int max, DisiWrapper filter) 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 DisiWrapperBooleanScorer.scoreWindow(DisiWrapper top, LeafCollector collector, Bits acceptDocs, int min, int max) private voidBooleanScorer.scoreWindowIntoBitSetAndReplay(LeafCollector collector, Bits acceptDocs, int base, int min, int max, DisiWrapper[] scorers, int numScorers) private voidBooleanScorer.scoreWindowMultipleScorers(LeafCollector collector, Bits acceptDocs, int windowBase, int windowMin, int windowMax, int maxFreq) private voidBooleanScorer.scoreWindowSingleScorer(DisiWrapper w, LeafCollector collector, Bits acceptDocs, int windowMin, int windowMax, int max) CachingCollector.NoScoreCachingCollector.wrap(LeafCollector in, int maxDocsToCache) CachingCollector.ScoreCachingCollector.wrap(LeafCollector in, int maxDocsToCache) static LeafCollectorScoreCachingWrappingScorer.wrap(LeafCollector collector) Wrap the providedLeafCollectorso that scores are computed lazily and cached if accessed multiple times.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) (package private)Constructor parameters in org.apache.lucene.search with type arguments of type LeafCollectorModifierConstructorDescriptionprivateMultiLeafCollector(List<LeafCollector> collectors, 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 classprivate 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) Methods in org.apache.lucene.search.join with parameters of type LeafCollectorModifier and TypeMethodDescriptionintToParentBlockJoinQuery.BlockJoinBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) ToParentBlockJoinQuery.BlockJoinBulkScorer.wrapCollector(LeafCollector collector) Constructors in org.apache.lucene.search.join with parameters of type LeafCollector -
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)