Package org.apache.lucene.facet.search
Interface ScoredDocIDsIterator
-
public interface ScoredDocIDsIteratorIterator over document IDs and their scores. Eachnext()retrieves the next docID and its score which can be later be retrieved bygetDocID()andgetScore(). NOTE: you must callnext()beforegetDocID()and/orgetScore(), or otherwise the returned values are unexpected.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static floatDEFAULT_SCOREDefault score used in case scoring is disabled.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDocID()Returns the ID of the current document.floatgetScore()Returns the score of the current document.booleannext()Iterate to the next document/score pair.
-
-
-
Field Detail
-
DEFAULT_SCORE
static final float DEFAULT_SCORE
Default score used in case scoring is disabled.- See Also:
- Constant Field Values
-
-