Package org.apache.solr.search
Interface DocIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
nextDoc()
Returns the next document id ifhasNext()==true
This method is equivalent tonext()
, but avoids the creation of an Integer Object.float
score()
Returns the score for the document just returned bynextDoc()
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
nextDoc
int nextDoc()
Returns the next document id ifhasNext()==true
This method is equivalent tonext()
, but avoids the creation of an Integer Object.- See Also:
Iterator.next()
-
score
float score()
Returns the score for the document just returned bynextDoc()
The value returned may be meaningless depending on the context in which the DocIterator instance was retrieved.
-
-