public class DocIterator
extends org.apache.lucene.search.DocIdSetIterator
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
org.apache.lucene.index.AtomicReaderContext |
getCurrentReaderContext() |
int |
nextDoc()
Note: this returns docIDs that must be interpreted relative to the current leaf reader:
these are not offset by the leaf.docBase.
|
public int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorpublic int nextDoc()
throws IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic int advance(int target)
throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic org.apache.lucene.index.AtomicReaderContext getCurrentReaderContext()
public long cost()
cost in class org.apache.lucene.search.DocIdSetIteratorCopyright © 2013. All Rights Reserved.