Uses of Class
org.apache.lucene.search.Scorer
Packages that use Scorer
Package
Description
The logical representation of a
Document
for indexing and
searching.Faceted search.
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.
-
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, float boost, ScoreMode scoreMode) private Scorer
SpatialQuery.RelationScorerSupplier.getDenseScorer
(LeafReader reader, float boost, ScoreMode scoreMode) Scorer used for WITHIN and DISJOINTprotected Scorer
SpatialQuery.RelationScorerSupplier.getScorer
(LeafReader reader, float boost, ScoreMode scoreMode) private Scorer
SpatialQuery.RelationScorerSupplier.getSparseScorer
(LeafReader reader, float boost, ScoreMode scoreMode) Scorer used for INTERSECTS and single value points -
Uses of Scorer in org.apache.lucene.facet
Fields in org.apache.lucene.facet declared as ScorerConstructors in org.apache.lucene.facet with parameters of type ScorerModifierConstructorDescription(package private)
DocsAndCost
(Scorer scorer, LeafCollector sidewaysLeafCollector) (package private)
DrillSidewaysScorer
(LeafReaderContext context, Scorer baseScorer, DrillSidewaysScorer.DocsAndCost[] dims, boolean scoreSubDocsAtOnce) -
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)
. -
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.intervals -
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 ScorerConstructors in org.apache.lucene.sandbox.search with parameters of type ScorerModifierConstructorDescription(package private)
QueryProfilerScorer
(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
(Collection<Scorer> scorers, LongValues minMatchValues, int maxDoc) -
Uses of Scorer in org.apache.lucene.search
Subclasses of Scorer in org.apache.lucene.searchModifier and TypeClassDescription(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
Weight.DefaultScorerSupplier.scorer
private final Scorer[]
BlockMaxConjunctionBulkScorer.scorers
(package private) final Scorer[]
BlockMaxConjunctionScorer.scorers
(package private) final Scorer[]
ConjunctionScorer.scorers
private final Scorer[]
DisjunctionScoreBlockBoundaryPropagator.scorers
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
BooleanScorerSupplier.excl
(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost) AbstractVectorSimilarityQuery.VectorSimilarityScorerSupplier.get
(long leadCost) BooleanScorerSupplier.get
(long leadCost) abstract Scorer
ScorerSupplier.get
(long leadCost) Get theScorer
.Weight.DefaultScorerSupplier.get
(long leadCost) private Scorer
BooleanScorerSupplier.getInternal
(long leadCost) private Scorer
IndriAndWeight.getScorer
(LeafReaderContext context) private Scorer
BooleanScorerSupplier.opt
(Collection<ScorerSupplier> optional, int minShouldMatch, ScoreMode scoreMode, long leadCost, boolean topLevelScoringClause) private Scorer
BooleanScorerSupplier.req
(Collection<ScorerSupplier> requiredNoScoring, Collection<ScorerSupplier> requiredScoring, long leadCost, boolean topLevelScoringClause) Create a new scorer for the given required clauses.final Scorer
Weight.scorer
(LeafReaderContext context) Optional method that delegates to scorerSupplier.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
BooleanScorerSupplier.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.DefaultScorerSupplier
(Scorer scorer) DisiWrapper
(Scorer scorer, boolean impacts) (package private)
DisiWrapperFreq
(Scorer scorer, float boost) FilterScorer
(Scorer in) Create a new FilterScorer with a specific weight(package private)
MaxScoreBulkScorer
(int maxDoc, List<Scorer> scorers, Scorer filter) (package private)
ReqExclBulkScorer
(BulkScorer req, Scorer excl) ReqExclScorer
(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
(Collection<Scorer> scorersList) Create a newBlockMaxConjunctionScorer
from scoring clauses.(package private)
BooleanScorer
(Collection<Scorer> scorers, int minShouldMatch, boolean needsScores) (package private)
ConjunctionBulkScorer
(List<Scorer> requiredScoring, List<Scorer> requiredNoScoring) (package private)
ConjunctionScorer
(Collection<Scorer> required, Collection<Scorer> scorers) (package private)
DisjunctionMaxScorer
(float tieBreakerMultiplier, List<Scorer> subScorers, ScoreMode scoreMode) Creates a new instance of DisjunctionMaxScorer(package private)
protected
DisjunctionScorer
(List<Scorer> subScorers, ScoreMode scoreMode) (package private)
DisjunctionSumScorer
(List<Scorer> subScorers, ScoreMode scoreMode) Construct aDisjunctionScorer
.protected
IndriAndScorer
(List<Scorer> subScorers, ScoreMode scoreMode, float boost) protected
IndriDisjunctionScorer
(List<Scorer> subScorersList, ScoreMode scoreMode, float boost) (package private)
MaxScoreBulkScorer
(int maxDoc, List<Scorer> scorers, Scorer filter) (package private)
WANDScorer
(Collection<Scorer> scorers, int minShouldMatch, ScoreMode scoreMode, long leadCost) -
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
Constructors in org.apache.lucene.search.join with parameters of type ScorerModifierConstructorDescriptionBlockJoinScorer
(Scorer childScorer, BitSet parentBits, ScoreMode scoreMode) ToChildBlockJoinScorer
(Scorer parentScorer, BitSet parentBits, boolean doScores)