// }
counter++;
}
}
SimpleJahiaJcrFacets facets = new SimpleJahiaJcrFacets(searcher,
transformToDocIdSet(nodes, reader, selectorIndexes), SolrParams
.toSolrParams(parameters), index, session);
extractFacetInfo(facets.getFacetCounts());
} catch (Exception ex) {
log.warn("Problem creating facets: ", ex);
} finally {
try {
searcher.close();