use of org.codelibs.fess.es.config.cbean.ca.WebConfigCA in project fess by codelibs.
the class BsWebConfigCA method setExcludedUrls_IpRange.
public void setExcludedUrls_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "excludedUrls");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigCA in project fess by codelibs.
the class BsWebConfigCA method setUrls_SignificantTerms.
public void setUrls_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "urls");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigCA in project fess by codelibs.
the class BsWebConfigCA method setName_Terms.
public void setName_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations