Uses of Class
org.apache.lucene.search.Scorable
Package
Description
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.-
Uses of Scorable in org.apache.lucene.search
Modifier and TypeClassDescriptionfinal class
A constant-scoringScorer
.class
Filter aScorable
, intercepting methods and optionally changing their return valuesclass
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.final class
AScorer
which wraps another scorer and caches the score of the current document.class
Expert: Common scoring functionality for different types of queries.final class
Expert: AScorer
for documents matching aTerm
.Modifier and TypeFieldDescriptionfinal Scorable
Scorable.ChildScorable.child
Child Scorer.protected final Scorable
FilterScorable.in
protected Scorable
TopScoreDocCollector.ScorerLeafCollector.scorer
Modifier and TypeMethodDescriptionstatic Scorable
Wraps the providedScorable
unless it's already an instance ofScoreCachingWrappingScorer
, in which case it will just return the provided instance.Modifier and TypeMethodDescriptionstatic DoubleValues
DoubleValuesSource.fromScorer
(Scorable scorer) Returns a DoubleValues instance that wraps scores returned by a Scorer.void
void
void
void
void
Called before successive calls toLeafCollector.collect(int)
.void
Sets the Scorer to use in case a document's score is needed.void
void
void
protected void
TopFieldCollector.updateGlobalMinCompetitiveScore
(Scorable scorer) protected void
TopScoreDocCollector.updateGlobalMinCompetitiveScore
(Scorable scorer) protected void
TopFieldCollector.updateMinCompetitiveScore
(Scorable scorer) protected void
TopScoreDocCollector.updateMinCompetitiveScore
(Scorable scorer) static Scorable
Wraps the providedScorable
unless it's already an instance ofScoreCachingWrappingScorer
, in which case it will just return the provided instance.ModifierConstructorDescriptionChildScorable
(Scorable child, String relationship) Creates a new ChildScorer node with the specified relationship.Filter a scorer -
Uses of Scorable in org.apache.lucene.search.comparators