Module org.apache.lucene.queries
Class ValueSource.ScorableView
- java.lang.Object
-
- org.apache.lucene.search.Scorable
-
- org.apache.lucene.queries.function.ValueSource.ScorableView
-
- Enclosing class:
- ValueSource
private static class ValueSource.ScorableView extends Scorable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
docId
(package private) float
score
(package private) DoubleValues
scores
(package private) int
scoresDocId
-
Constructor Summary
Constructors Constructor Description ScorableView(int docId, float score)
ScorableView(DoubleValues scores)
-
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, smoothingScore
-
-
-
-
Field Detail
-
scores
final DoubleValues scores
-
docId
int docId
-
scoresDocId
int scoresDocId
-
score
float score
-
-
Constructor Detail
-
ScorableView
public ScorableView(int docId, float score)
-
ScorableView
public ScorableView(DoubleValues scores)
-
-
Method Detail
-
docID
public int docID()
Description copied from class:Scorable
Returns the doc ID that is currently being scored.
-
-