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 privateScoreAndDoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdocID()Returns the doc ID that is currently being scored.floatscore()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:ScorableReturns the doc ID that is currently being scored.
-
-