Class ValueSource.ScoreAndDoc
- java.lang.Object
-
- org.apache.lucene.search.Scorable
-
- org.apache.lucene.queries.function.ValueSource.ScoreAndDoc
-
- Enclosing class:
- ValueSource
private static class ValueSource.ScoreAndDoc extends Scorable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ScoreAndDoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
docID()
Returns the doc ID that is currently being scored.float
score()
Returns the score of the current document matching the query.-
Methods inherited from class org.apache.lucene.search.Scorable
getChildren, setMinCompetitiveScore
-
-
-
-
Method Detail
-
docID
public int docID()
Description copied from class:Scorable
Returns the doc ID that is currently being scored.
-
-