public AggregatorValueProc(TFloatIntHashMap facets, Set<String> excluded, SearchScript script) {
super(facets);
if (excluded == null || excluded.isEmpty()) {
this.excluded = null;
} else {
this.excluded = new TFloatHashSet(excluded.size());
for (String s : excluded) {
this.excluded.add(Float.parseFloat(s));
}
}
this.script = script;