Uses of Class
org.apache.lucene.search.Scorer
Packages that use Scorer
Package
Description
The logical representation of a
Document for indexing and
searching.Code to maintain and access indices.
Queries that compute score based upon a function.
A variety of functions to use with FunctionQuery.
Intervals queries
The payloads package provides Query mechanisms for finding and using payloads.
The calculus of spans.
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Support for index-time and query-time joins.
Support for document suggestion
-
Uses of Scorer in org.apache.lucene.document
Subclasses of Scorer in org.apache.lucene.documentModifier and TypeClassDescriptionprivate classprivate classMethods in org.apache.lucene.document that return ScorerModifier and TypeMethodDescriptionprivate ScorerSpatialQuery.RelationScorerSupplier.getContainsDenseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) private ScorerSpatialQuery.RelationScorerSupplier.getDenseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) Scorer used for WITHIN and DISJOINTprotected ScorerSpatialQuery.RelationScorerSupplier.getScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) private ScorerSpatialQuery.RelationScorerSupplier.getSparseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) Scorer used for INTERSECTS and single value points -
Uses of Scorer in org.apache.lucene.index
Methods in org.apache.lucene.index that return ScorerModifier and TypeMethodDescriptionprivate static ScorerSoftDeletesRetentionMergePolicy.getScorer(Query query, CodecReader reader) -
Uses of Scorer in org.apache.lucene.queries.function
Subclasses of Scorer in org.apache.lucene.queries.functionModifier and TypeClassDescriptionprotected classScores all documents, applying the function to each documentclassScorerwhich returns the result ofFunctionValues.floatVal(int)as the score for a document, and which filters out documents that don't matchValueSourceScorer.matches(int).Methods in org.apache.lucene.queries.function that return ScorerModifier and TypeMethodDescriptionFunctionQuery.FunctionWeight.scorer(LeafReaderContext context) FunctionScoreQuery.FunctionScoreWeight.scorer(LeafReaderContext context) -
Uses of Scorer in org.apache.lucene.queries.function.valuesource
Fields in org.apache.lucene.queries.function.valuesource declared as Scorer -
Uses of Scorer in org.apache.lucene.queries.intervals
Subclasses of Scorer in org.apache.lucene.queries.intervalsMethods in org.apache.lucene.queries.intervals that return Scorer -
Uses of Scorer in org.apache.lucene.queries.payloads
Subclasses of Scorer in org.apache.lucene.queries.payloads -
Uses of Scorer in org.apache.lucene.queries.spans
Subclasses of Scorer in org.apache.lucene.queries.spans -
Uses of Scorer in org.apache.lucene.sandbox.search
Subclasses of Scorer in org.apache.lucene.sandbox.searchModifier and TypeClassDescriptionprivate static class(package private) final classAScorerwhose number of matches is per-document.(package private) classScorerwrapper that will compute how much time is spent on moving the iterator, confirming matches and computing scores.(package private) classFields in org.apache.lucene.sandbox.search declared as ScorerMethods in org.apache.lucene.sandbox.search that return ScorerModifier and TypeMethodDescriptionCombinedFieldQuery.CombinedFieldWeight.scorer(LeafReaderContext context) CoveringQuery.CoveringWeight.scorer(LeafReaderContext context) QueryProfilerWeight.scorer(LeafReaderContext context) TermAutomatonQuery.TermAutomatonWeight.scorer(LeafReaderContext context) Constructors in org.apache.lucene.sandbox.search with parameters of type ScorerModifierConstructorDescription(package private)QueryProfilerScorer(QueryProfilerWeight w, Scorer scorer, QueryProfilerBreakdown profile) (package private)WeightedDisiWrapper(Scorer scorer, float weight) Constructor parameters in org.apache.lucene.sandbox.search with type arguments of type ScorerModifierConstructorDescription(package private)CoveringScorer(Weight weight, Collection<Scorer> scorers, LongValues minMatchValues, int maxDoc) -
Uses of Scorer in org.apache.lucene.search
Subclasses of Scorer in org.apache.lucene.searchModifier and TypeClassDescriptionprivate static class(package private) final classScorer for conjunctions that checks the maximum scores of each clause in order to potentially skip over blocks that can't have competitive matches.(package private) classScorer for conjunctions, sets of queries, all of which are required.final classA constant-scoringScorer.(package private) final classThe Scorer for DisjunctionMaxQuery.(package private) classBase class for Scorers that score disjunctions.(package private) final classA Scorer for OR like queries, counterpart ofConjunctionScorer.classAFilterScorercontains anotherScorer, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.classCombines scores of subscorers.classThe Indri implemenation of a disjunction scorer which stores the subscorers for the child queries.classThe Indri parent scorer that stores the boost so that IndriScorers can use the boost outside of the term.(package private) class(package private) classA Scorer for queries with a required subscorer and an excluding (prohibited) subScorer.(package private) classA Scorer for queries with a required part and an optional part.private static classprivate static classfinal classExpert: AScorerfor documents matching aTerm.(package private) final classThis implements the WAND (Weak AND) algorithm for dynamic pruning described in "Efficient Query Evaluation using a Two-Level Retrieval Process" by Broder, Carmel, Herscovici, Soffer and Zien.Fields in org.apache.lucene.search declared as ScorerModifier and TypeFieldDescriptionprivate final Scorer[]WANDScorer.allScorersprotected final ScorerFilterScorer.inprivate final ScorerReqOptSumScorer.optScorerprivate final ScorerReqExclScorer.reqScorerprivate final ScorerReqOptSumScorer.reqScorerfinal ScorerDisiWrapper.scorerprivate final ScorerWeight.DefaultBulkScorer.scorerprivate final ScorerBlockMaxConjunctionBulkScorer.scorer1private final ScorerBlockMaxConjunctionBulkScorer.scorer2private final Scorer[]BlockMaxConjunctionBulkScorer.scorers(package private) final Scorer[]BlockMaxConjunctionScorer.scorers(package private) final Scorer[]ConjunctionScorer.scorersprivate final Scorer[]DisjunctionScoreBlockBoundaryPropagator.scorersprivate final Scorer[]ConjunctionBulkScorer.scoringScorersFields in org.apache.lucene.search with type parameters of type ScorerModifier and TypeFieldDescriptionprivate static final Comparator<Scorer> DisjunctionScoreBlockBoundaryPropagator.MAX_SCORE_COMPARATOR(package private) final Collection<Scorer> ConjunctionScorer.requiredDisjunctionSumScorer.scorersDisjunctionMaxScorer.subScorersIndriDisjunctionScorer.subScorersListMethods in org.apache.lucene.search that return ScorerModifier and TypeMethodDescriptionprivate ScorerBoolean2ScorerSupplier.excl(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost) Boolean2ScorerSupplier.get(long leadCost) abstract ScorerScorerSupplier.get(long leadCost) Get theScorer.private ScorerBoolean2ScorerSupplier.getInternal(long leadCost) private ScorerIndriAndWeight.getScorer(LeafReaderContext context) private ScorerBoolean2ScorerSupplier.opt(Collection<ScorerSupplier> optional, int minShouldMatch, ScoreMode scoreMode, long leadCost, boolean topLevelScoringClause) private ScorerBoolean2ScorerSupplier.req(Collection<ScorerSupplier> requiredNoScoring, Collection<ScorerSupplier> requiredScoring, long leadCost, boolean topLevelScoringClause) Create a new scorer for the given required clauses.AbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.scorer(LeafReaderContext context) BooleanWeight.scorer(LeafReaderContext context) DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context) FilterWeight.scorer(LeafReaderContext context) IndriAndWeight.scorer(LeafReaderContext context) LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext context) PhraseWeight.scorer(LeafReaderContext context) SynonymQuery.SynonymWeight.scorer(LeafReaderContext context) TermQuery.TermWeight.scorer(LeafReaderContext context) abstract ScorerWeight.scorer(LeafReaderContext context) Returns aScorerwhich can iterate in order over all matching documents and assign them a score.private ScorerAbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.scorerForIterator(DocIdSetIterator iterator) FilterScorer.unwrap()private static ScorerMultiTermQueryConstantScoreBlendedWrapper.wrapWithDummyScorer(Weight weight, DocIdSetIterator disi) Wraps a DISI with a "dummy" scorer so we can easily useDisiWrapperandDisjunctionDISIApproximationas-is.Methods in org.apache.lucene.search that return types with arguments of type ScorerMethods in org.apache.lucene.search with parameters of type ScorerModifier and TypeMethodDescription(package private) static voidConjunctionDISI.addScorer(Scorer scorer, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Adds the scorer, possibly splitting up into two phases or collapsing if it is another conjunctionprivate ScorerBoolean2ScorerSupplier.excl(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost) Method parameters in org.apache.lucene.search with type arguments of type ScorerModifier and TypeMethodDescriptionstatic DocIdSetIteratorConjunctionUtils.intersectScorers(Collection<Scorer> scorers) Create a conjunction over the providedScorers.float(package private) abstract floatprivate floatfloatIndriAndScorer.smoothingScore(List<Scorer> subScorers, int docId) abstract floatIndriDisjunctionScorer.smoothingScore(List<Scorer> subScorers, int docId) Constructors in org.apache.lucene.search with parameters of type ScorerModifierConstructorDescriptionDefaultBulkScorer(Scorer scorer) Sole constructor.DisiWrapper(Scorer scorer) (package private)DisiWrapperFreq(Scorer scorer, float boost) FilterScorer(Scorer in) Create a new FilterScorerFilterScorer(Scorer in, Weight weight) Create a new FilterScorer with a specific weightReqExclScorer(Scorer reqScorer, Scorer exclScorer) Construct aReqExclScorer.ReqOptSumScorer(Scorer reqScorer, Scorer optScorer, ScoreMode scoreMode) Construct aReqOptScorer.Constructor parameters in org.apache.lucene.search with type arguments of type ScorerModifierConstructorDescription(package private)BlockMaxConjunctionBulkScorer(int maxDoc, List<Scorer> scorers) (package private)BlockMaxConjunctionScorer(Weight weight, Collection<Scorer> scorersList) Create a newBlockMaxConjunctionScorerfrom scoring clauses.(package private)ConjunctionBulkScorer(List<Scorer> requiredScoring, List<Scorer> requiredNoScoring) (package private)ConjunctionScorer(Weight weight, Collection<Scorer> required, Collection<Scorer> scorers) (package private)DisjunctionMaxScorer(Weight weight, float tieBreakerMultiplier, List<Scorer> subScorers, ScoreMode scoreMode) Creates a new instance of DisjunctionMaxScorer(package private)protectedDisjunctionScorer(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode) (package private)DisjunctionSumScorer(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode) Construct aDisjunctionScorer.protectedIndriAndScorer(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode, float boost) protectedIndriDisjunctionScorer(Weight weight, List<Scorer> subScorersList, ScoreMode scoreMode, float boost) (package private)MaxScoreBulkScorer(int maxDoc, List<Scorer> scorers) (package private)WANDScorer(Weight weight, Collection<Scorer> scorers, int minShouldMatch, ScoreMode scoreMode) -
Uses of Scorer in org.apache.lucene.search.join
Subclasses of Scorer in org.apache.lucene.search.joinModifier and TypeClassDescription(package private) class(package private) static final class(package private) static final class(package private) static final class(package private) static final class(package private) class(package private) class(package private) static class(package private) static classFields in org.apache.lucene.search.join declared as ScorerModifier and TypeFieldDescriptionprivate final ScorerToParentBlockJoinQuery.BlockJoinScorer.childScorerprivate final ScorerToChildBlockJoinQuery.ToChildBlockJoinScorer.parentScorerMethods in org.apache.lucene.search.join that return ScorerModifier and TypeMethodDescriptionGlobalOrdinalsQuery.W.scorer(LeafReaderContext context) GlobalOrdinalsWithScoreQuery.W.scorer(LeafReaderContext context) ToChildBlockJoinQuery.ToChildBlockJoinWeight.scorer(LeafReaderContext readerContext) ToParentBlockJoinQuery.BlockJoinWeight.scorer(LeafReaderContext context) Constructors in org.apache.lucene.search.join with parameters of type ScorerModifierConstructorDescriptionBlockJoinScorer(Weight weight, Scorer childScorer, BitSet parentBits, ScoreMode scoreMode) ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, BitSet parentBits, boolean doScores) -
Uses of Scorer in org.apache.lucene.search.suggest.document
Methods in org.apache.lucene.search.suggest.document that return Scorer