| org.apache.solr.search.DocIterator
DocIterator | public interface DocIterator extends Iterator<Integer>(Code) | | Simple Iterator of document Ids which may include score information.
The order of the documents is determined by the context in which the
DocIterator instance was retrieved.
author: yonik version: $Id: DocIterator.java 472574 2006-11-08 18:25:52Z yonik $ |
Method Summary | |
public int | nextDoc() Returns the next document id if hasNext()==true
This method is equivalent to next() , but avoids the creation
of an Integer Object. | public float | score() Returns the score for the document just returned by nextDoc()
The value returned may be meaningless depending on the context
in which the DocIterator instance was retrieved. |
nextDoc | public int nextDoc()(Code) | | Returns the next document id if hasNext()==true
This method is equivalent to next() , but avoids the creation
of an Integer Object.
See Also: DocIterator.next() |
score | public float score()(Code) | | Returns the score for the document just returned by nextDoc()
The value returned may be meaningless depending on the context
in which the DocIterator instance was retrieved.
|
|
|