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 class
private class
Methods in org.apache.lucene.document that return ScorerModifier and TypeMethodDescriptionprivate Scorer
SpatialQuery.RelationScorerSupplier.getContainsDenseScorer
(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) private Scorer
SpatialQuery.RelationScorerSupplier.getDenseScorer
(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) Scorer used for WITHIN and DISJOINTprotected Scorer
SpatialQuery.RelationScorerSupplier.getScorer
(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode) private Scorer
SpatialQuery.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 Scorer
SoftDeletesRetentionMergePolicy.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 class
Scores all documents, applying the function to each documentclass
Scorer
which 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 class
AScorer
whose number of matches is per-document.(package private) class
Scorer
wrapper that will compute how much time is spent on moving the iterator, confirming matches and computing scores.(package private) class
Fields 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 class
Scorer 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) class
Scorer for conjunctions, sets of queries, all of which are required.final class
A constant-scoringScorer
.(package private) final class
The Scorer for DisjunctionMaxQuery.(package private) class
Base class for Scorers that score disjunctions.(package private) final class
A Scorer for OR like queries, counterpart ofConjunctionScorer
.class
AFilterScorer
contains anotherScorer
, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.class
Combines scores of subscorers.class
The Indri implemenation of a disjunction scorer which stores the subscorers for the child queries.class
The Indri parent scorer that stores the boost so that IndriScorers can use the boost outside of the term.(package private) class
(package private) class
A Scorer for queries with a required subscorer and an excluding (prohibited) subScorer
.(package private) class
A Scorer for queries with a required part and an optional part.private static class
private static class
final class
Expert: AScorer
for documents matching aTerm
.(package private) final class
This 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.allScorers
protected final Scorer
FilterScorer.in
private final Scorer
ReqOptSumScorer.optScorer
private final Scorer
ReqExclScorer.reqScorer
private final Scorer
ReqOptSumScorer.reqScorer
final Scorer
DisiWrapper.scorer
private final Scorer
Weight.DefaultBulkScorer.scorer
private final Scorer
BlockMaxConjunctionBulkScorer.scorer1
private final Scorer
BlockMaxConjunctionBulkScorer.scorer2
private final Scorer[]
BlockMaxConjunctionBulkScorer.scorers
(package private) final Scorer[]
BlockMaxConjunctionScorer.scorers
(package private) final Scorer[]
ConjunctionScorer.scorers
private final Scorer[]
DisjunctionScoreBlockBoundaryPropagator.scorers
private final Scorer[]
ConjunctionBulkScorer.scoringScorers
Fields 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.required
DisjunctionSumScorer.scorers
DisjunctionMaxScorer.subScorers
IndriDisjunctionScorer.subScorersList
Methods in org.apache.lucene.search that return ScorerModifier and TypeMethodDescriptionprivate Scorer
Boolean2ScorerSupplier.excl
(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost) Boolean2ScorerSupplier.get
(long leadCost) abstract Scorer
ScorerSupplier.get
(long leadCost) Get theScorer
.private Scorer
Boolean2ScorerSupplier.getInternal
(long leadCost) private Scorer
IndriAndWeight.getScorer
(LeafReaderContext context) private Scorer
Boolean2ScorerSupplier.opt
(Collection<ScorerSupplier> optional, int minShouldMatch, ScoreMode scoreMode, long leadCost, boolean topLevelScoringClause) private Scorer
Boolean2ScorerSupplier.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 Scorer
Weight.scorer
(LeafReaderContext context) Returns aScorer
which can iterate in order over all matching documents and assign them a score.private Scorer
AbstractMultiTermQueryConstantScoreWrapper.RewritingWeight.scorerForIterator
(DocIdSetIterator iterator) FilterScorer.unwrap()
private static Scorer
MultiTermQueryConstantScoreBlendedWrapper.wrapWithDummyScorer
(Weight weight, DocIdSetIterator disi) Wraps a DISI with a "dummy" scorer so we can easily useDisiWrapper
andDisjunctionDISIApproximation
as-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 void
ConjunctionDISI.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 Scorer
Boolean2ScorerSupplier.excl
(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost) Method parameters in org.apache.lucene.search with type arguments of type ScorerModifier and TypeMethodDescriptionstatic DocIdSetIterator
ConjunctionUtils.intersectScorers
(Collection<Scorer> scorers) Create a conjunction over the providedScorer
s.float
(package private) abstract float
private float
float
IndriAndScorer.smoothingScore
(List<Scorer> subScorers, int docId) abstract float
IndriDisjunctionScorer.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 newBlockMaxConjunctionScorer
from 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)
protected
DisjunctionScorer
(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode) (package private)
DisjunctionSumScorer
(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode) Construct aDisjunctionScorer
.protected
IndriAndScorer
(Weight weight, List<Scorer> subScorers, ScoreMode scoreMode, float boost) protected
IndriDisjunctionScorer
(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 class
Fields in org.apache.lucene.search.join declared as ScorerModifier and TypeFieldDescriptionprivate final Scorer
ToParentBlockJoinQuery.BlockJoinScorer.childScorer
private final Scorer
ToChildBlockJoinQuery.ToChildBlockJoinScorer.parentScorer
Methods 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