Uses of Enum Class
org.apache.lucene.search.ScoreMode
Packages that use ScoreMode
Package
Description
The logical representation of a
Document
for indexing and
searching.Code to search indices.
-
Uses of ScoreMode in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type ScoreModeModifier and TypeMethodDescriptionfinal Weight
RangeFieldQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) XYDocValuesPointInGeometryQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of ScoreMode in org.apache.lucene.search
Methods in org.apache.lucene.search that return ScoreModeModifier and TypeMethodDescriptionCollector.scoreMode()
Indicates what features are required from the scorer.FilterCollector.scoreMode()
MultiCollector.scoreMode()
TopFieldCollector.scoreMode()
TopScoreDocCollector.scoreMode()
TotalHitCountCollector.scoreMode()
static ScoreMode
Returns the enum constant of this class with the specified name.static ScoreMode[]
ScoreMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.search with parameters of type ScoreModeModifier and TypeMethodDescriptionBooleanQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) BoostQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) CombinedFieldQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) ConstantScoreQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) DisjunctionMaxQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) Create the Weight used to score usFieldExistsQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndexOrDocValuesQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndexSearcher.createWeight
(Query query, ScoreMode scoreMode, float boost) Creates aWeight
for the given query, potentially adding caching if possible and configured.IndexSortSortedNumericDocValuesRangeQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) IndriAndQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) abstract Weight
IndriQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) MatchAllDocsQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) MatchNoDocsQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) MultiPhraseQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) PhraseQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) final Weight
PointInSetQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) final Weight
PointRangeQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) Query.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) Expert: Constructs an appropriate Weight implementation for this query.SynonymQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) TermQuery.createWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) static ConstantScoreScorerSupplier
ConstantScoreScorerSupplier.fromIterator
(DocIdSetIterator iterator, float score, ScoreMode scoreMode, int maxDoc) Create aConstantScoreScorerSupplier
for the given iterator.static ConstantScoreScorerSupplier
Create aConstantScoreScorerSupplier
that matches all docs in [0, maxDoc).Constructors in org.apache.lucene.search with parameters of type ScoreModeModifierConstructorDescriptionConstantScoreScorer
(float score, ScoreMode scoreMode, DocIdSetIterator disi) Constructor based on aDocIdSetIterator
which will be used to drive iteration.ConstantScoreScorer
(float score, ScoreMode scoreMode, TwoPhaseIterator twoPhaseIterator) Constructor based on aTwoPhaseIterator
.protected
ConstantScoreScorerSupplier
(float score, ScoreMode scoreMode, int maxDoc) Constructor, invoked by sub-classes.DisjunctionMaxWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) Construct the Weight for this Query searched by searcher.ExactPhraseMatcher
(PhraseQuery.PostingsAndFreq[] postings, ScoreMode scoreMode, Similarity.SimScorer scorer, float matchCost) Expert: Creates ExactPhraseMatcher instanceprotected
IndriAndScorer
(List<Scorer> subScorers, ScoreMode scoreMode, float boost) IndriAndWeight
(IndriAndQuery query, IndexSearcher searcher, ScoreMode scoreMode, float boost) protected
IndriDisjunctionScorer
(List<Scorer> subScorersList, ScoreMode scoreMode, float boost) protected
PhraseWeight
(Query query, String field, IndexSearcher searcher, ScoreMode scoreMode) Expert: Creates PhraseWeight instanceSloppyPhraseMatcher
(PhraseQuery.PostingsAndFreq[] postings, int slop, ScoreMode scoreMode, Similarity.SimScorer scorer, float matchCost, boolean captureLeadMatch)