use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setHandlerName_Missing.
public void setHandlerName_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "handlerName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setVirtualHosts_Missing.
public void setVirtualHosts_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "virtualHosts");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setCreatedTime_Missing.
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "createdTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setVirtualHosts_SignificantTerms.
public void setVirtualHosts_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "virtualHosts");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DataConfigCA in project fess by codelibs.
the class BsDataConfigCA method setCreatedBy_IpRange.
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations