Uses of Class
org.apache.lucene.search.Scorer
-
Packages that use Scorer Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.search.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search.spans The calculus of spans.org.apache.lucene.util Some utility classes. -
-
Uses of Scorer in org.apache.lucene.search
Classes in org.apache.lucene.search with type parameters of type Scorer Modifier and Type Class Description static class
Scorer.ScorerVisitor<P extends Query,C extends Query,S extends Scorer>
A callback to gather information from a scorer and its sub-scorers.Subclasses of Scorer in org.apache.lucene.search Modifier and Type Class Description protected class
ConstantScoreQuery.ConstantScorer
class
ScoreCachingWrappingScorer
AScorer
which wraps another scorer and caches the score of the current document.Methods in org.apache.lucene.search that return Scorer Modifier and Type Method Description Scorer
BooleanQuery.BooleanWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
Scorer
ConstantScoreQuery.ConstantWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
Scorer
DisjunctionMaxQuery.DisjunctionMaxWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
Create the scorer used to score our associated DisjunctionMaxQueryabstract Scorer
Weight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
Returns aScorer
which scores documents in/out-of order according toscoreDocsInOrder
.Methods in org.apache.lucene.search with parameters of type Scorer Modifier and Type Method Description abstract void
Collector. setScorer(Scorer scorer)
Called before successive calls toCollector.collect(int)
.void
FieldComparator.RelevanceComparator. setScorer(Scorer scorer)
void
FieldComparator. setScorer(Scorer scorer)
Sets the Scorer to use in case a document's score is needed.void
MultiCollector. setScorer(Scorer s)
void
PositiveScoresOnlyCollector. setScorer(Scorer scorer)
void
TimeLimitingCollector. setScorer(Scorer scorer)
void
TopScoreDocCollector. setScorer(Scorer scorer)
void
TotalHitCountCollector. setScorer(Scorer scorer)
Method parameters in org.apache.lucene.search with type arguments of type Scorer Modifier and Type Method Description void
Scorer. visitScorers(Scorer.ScorerVisitor<Query,Query,Scorer> visitor)
Expert: call this to gather details for all sub-scorers for this query.void
Scorer. visitSubScorers(Query parent, BooleanClause.Occur relationship, Scorer.ScorerVisitor<Query,Query,Scorer> visitor)
Scorer
subclasses should implement this method if the subclass itself contains multiple scorers to support gathering details for sub-scorers viaScorer.ScorerVisitor
Constructors in org.apache.lucene.search with parameters of type Scorer Constructor Description ScoreCachingWrappingScorer(Scorer scorer)
Creates a new instance by wrapping the given scorer. -
Uses of Scorer in org.apache.lucene.search.payloads
Subclasses of Scorer in org.apache.lucene.search.payloads Modifier and Type Class Description class
PayloadNearQuery.PayloadNearSpanScorer
protected class
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Methods in org.apache.lucene.search.payloads that return Scorer Modifier and Type Method Description Scorer
PayloadNearQuery.PayloadNearSpanWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
Scorer
PayloadTermQuery.PayloadTermWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
-
Uses of Scorer in org.apache.lucene.search.spans
Subclasses of Scorer in org.apache.lucene.search.spans Modifier and Type Class Description class
SpanScorer
Public for extension only.Methods in org.apache.lucene.search.spans that return Scorer Modifier and Type Method Description Scorer
SpanWeight. scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
-
Uses of Scorer in org.apache.lucene.util
Methods in org.apache.lucene.util that return Scorer Modifier and Type Method Description Scorer
ScorerDocQueue. pop()
Deprecated.Removes and returns the least scorer of the ScorerDocQueue in log(size) time.Scorer
ScorerDocQueue. top()
Deprecated.Returns the least Scorer of the ScorerDocQueue in constant time.Methods in org.apache.lucene.util with parameters of type Scorer Modifier and Type Method Description boolean
ScorerDocQueue. insert(Scorer scorer)
Deprecated.Adds a Scorer to the ScorerDocQueue in log(size) time if either the ScorerDocQueue is not full, or not lessThan(scorer, top()).void
ScorerDocQueue. put(Scorer scorer)
Deprecated.Adds a Scorer to a ScorerDocQueue in log(size) time.
-