for (Map.Entry<String, Map<String, Float>> boostEntry : _boostMaps.entrySet()) {
String facetName = boostEntry.getKey();
FacetHandler<?> handler = reader.getFacetHandler(facetName);
if (!(handler instanceof FacetScoreable)) throw new IllegalArgumentException(facetName
+ " does not implement FacetScoreable");
FacetScoreable facetScoreable = (FacetScoreable) handler;
BoboDocScorer scorer = facetScoreable.getDocScorer(reader, _scoringFunctionFactory,
boostEntry.getValue());
if (scorer != null) list.add(scorer);
}
_facetScorers = list.toArray(new BoboDocScorer[list.size()]);
_docid = -1;