T
- public final class ResultIterator<T> extends Object implements com.mysema.commons.lang.CloseableIterator<T>
ResultIterator
is a CloseableIterator
implementation for
Lucene query resultsConstructor and Description |
---|
ResultIterator(org.apache.lucene.search.ScoreDoc[] scoreDocs,
int offset,
org.apache.lucene.search.IndexSearcher searcher,
Set<String> fieldsToLoad,
com.google.common.base.Function<org.apache.lucene.document.Document,T> transformer) |
public void close()
close
in interface com.mysema.commons.lang.CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2007–2015 Mysema Ltd. All rights reserved.