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
IOException
int getFirstIndex()
int getMaxIndex()
void close()
close
in interface AutoCloseable
close
in interface Closeable
org.apache.lucene.search.TopDocs getTopDocs()
TopDocs
instanceCopyright © 2006–2016 Hibernate. All rights reserved.