int first = first();
int max = max( first, queryHits.totalHits );
DocumentExtractor extractor = new DocumentExtractor(
queryHits, searchFactory, indexProjection, idFieldNames, allowFieldSelectionInProjection
);
Loader loader = getLoader( ( Session ) this.session, searchFactory );
return new ScrollableResultsImpl(
searcher, first, max, fetchSize, extractor, loader, searchFactory
);
}
catch ( IOException e ) {