_maxHeapPerRowFetch = maxHeapPerRowFetch;
performSearch();
}
private void performSearch() throws BlurException {
IterablePaging iterablePaging = new IterablePaging(_running, _searcher, _query, _fetchCount, _totalHitsRef,
_progressRef, _runSlow);
_iterator = new IteratorConverter<ScoreDoc, BlurResult, BlurException>(iterablePaging.iterator(),
new Converter<ScoreDoc, BlurResult, BlurException>() {
@Override
public BlurResult convert(ScoreDoc scoreDoc) throws BlurException {
String resolveId = resolveId(scoreDoc.doc);
return new BlurResult(resolveId, scoreDoc.score, getFetchResult(resolveId));