for (int i = scoreDocs.length - 1; i >= 0; i--) {
MyScoreDoc fdoc = scoreDocs[i];
BoboSegmentReader reader = fdoc.reader;
BrowseHit hit = new BrowseHit();
if (fetchStoredFields) {
hit.setStoredFields(reader.document(fdoc.doc));
}
if (termVectorsToFetch != null && termVectorsToFetch.size() > 0) {
Map<String, TermFrequencyVector> tvMap = new HashMap<String, TermFrequencyVector>();
hit.setTermFreqMap(tvMap);
Fields fds = reader.getTermVectors(fdoc.doc);