CombinedFacetAccessible[] groupAccessibles) throws IOException {
BrowseHit[] hits = new BrowseHit[scoreDocs.length];
Collection<FacetHandler<?>> facetHandlers = facetHandlerMap.values();
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, List<BoboTerm>> tvMap = new HashMap<String, List<BoboTerm>>();
hit.setTermVectorMap(tvMap);
Fields fds = reader.getTermVectors(fdoc.doc);
for (String field : termVectorsToFetch) {
Terms terms = fds.terms(field);
if (terms == null) {
continue;
}