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
ConstructorDescriptionAllScorer
(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost) -
Method Summary
Modifier and TypeMethodDescriptionint
docID()
explain
(int doc) float
getMaxScore
(int upTo) iterator()
float
score()
Methods inherited from class org.apache.lucene.search.Scorer
advanceShallow, getWeight, twoPhaseIterator
Methods 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:
score
in classScorable
- Throws:
IOException
-
getMaxScore
- Specified by:
getMaxScore
in classScorer
- Throws:
IOException
-
explain
- Throws:
IOException
-