use of org.codelibs.fess.es.config.cbean.ca.KeyMatchCA in project fess by codelibs.
the class BsKeyMatchCA method setCreatedBy_IpRange.
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsKeyMatchCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
KeyMatchCA ca = new KeyMatchCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations