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
protected class FunctionQuery.AllScorer extends Scorer
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
Constructors Constructor Description AllScorer(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
docID()
Explanation
explain(int doc)
float
getMaxScore(int upTo)
DocIdSetIterator
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 Detail
-
AllScorer
public AllScorer(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost) throws IOException
- Throws:
IOException
-
-
Method Detail
-
iterator
public DocIdSetIterator iterator()
-
score
public float score() throws IOException
- Specified by:
score
in classScorable
- Throws:
IOException
-
getMaxScore
public float getMaxScore(int upTo) throws IOException
- Specified by:
getMaxScore
in classScorer
- Throws:
IOException
-
explain
public Explanation explain(int doc) throws IOException
- Throws:
IOException
-
-