use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setBoost_Missing.
public void setBoost_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "boost");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations