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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) float
(package private) final DoubleValues
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
score()
Returns the score of the current document matching the query.Methods inherited from class org.apache.lucene.search.Scorable
getChildren, setMinCompetitiveScore, smoothingScore
-
Field Details
-
scores
-
docId
int docId -
scoresDocId
int scoresDocId -
score
float score
-
-
Constructor Details
-
ScorableView
public ScorableView(int docId, float score) -
ScorableView
-
-
Method Details
-
score
Description copied from class:Scorable
Returns the score of the current document matching the query.- Specified by:
score
in classScorable
- Throws:
IOException
-