public interface ScoredDocIDsIterator
next() retrieves
the next docID and its score which can be later be retrieved by
getDocID() and getScore(). NOTE: you must call
next() before getDocID() and/or getScore(), or
otherwise the returned values are unexpected.| Modifier and Type | Field | Description |
|---|---|---|
static float |
DEFAULT_SCORE |
Default score used in case scoring is disabled.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getDocID() |
Returns the ID of the current document.
|
float |
getScore() |
Returns the score of the current document.
|
boolean |
next() |
Iterate to the next document/score pair.
|
static final float DEFAULT_SCORE
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.