Class FunctionQuery.AllScorer
java.lang.Object
org.apache.lucene.search.Scorable
org.apache.lucene.search.Scorer
org.apache.lucene.queries.function.FunctionQuery.AllScorer
- Enclosing class:
FunctionQuery
Scores all documents, applying the function to each document
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable -
Constructor Summary
ConstructorsConstructorDescriptionAllScorer(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost) -
Method Summary
Modifier and TypeMethodDescriptionintdocID()explain(int doc) floatgetMaxScore(int upTo) iterator()floatscore()Methods inherited from class org.apache.lucene.search.Scorer
advanceShallow, twoPhaseIteratorMethods inherited from class org.apache.lucene.search.Scorable
getChildren, setMinCompetitiveScore, smoothingScore
-
Constructor Details
-
AllScorer
public AllScorer(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost) throws IOException - Throws:
IOException
-
-
Method Details
-
iterator
-
docID
public int docID() -
score
- Specified by:
scorein classScorable- Throws:
IOException
-
getMaxScore
- Specified by:
getMaxScorein classScorer- Throws:
IOException
-
explain
- Throws:
IOException
-