}
if (rsp != null) {
Facets facets = rsp.facets();
if (facets != null)
for (Facet facet : facets.facets()) {
if (facet instanceof TermsFacet) {
TermsFacet ff = (TermsFacet) facet;
Integer integ = filterToIndex.get(ff.getName());
if (integ != null && ff.entries() != null) {
List<FacetHelper> list = new ArrayList<FacetHelper>();