public interface DocumentExtractor extends Closeable
getFirstIndex() and getMaxIndex() define the boundaries available to extract(int).
DocumentExtractor objects *must* be closed when the results are no longer traversed. See close()| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EntityInfo |
extract(int index) |
int |
getFirstIndex() |
int |
getMaxIndex() |
org.apache.lucene.search.TopDocs |
getTopDocs() |
EntityInfo extract(int index) throws IOException
IOExceptionint getFirstIndex()
int getMaxIndex()
void close()
close in interface AutoCloseableclose in interface Closeableorg.apache.lucene.search.TopDocs getTopDocs()
TopDocs instanceCopyright © 2006–2015 Hibernate. All rights reserved.