use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsDataConfigCA method setUpdatedBy_Terms.
public void setUpdatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsDataConfigCA method setHandlerParameter_Terms.
public void setHandlerParameter_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "handlerParameter");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DataConfigCA ca = new DataConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsFileConfigCA method setIncludedPaths_Terms.
public void setIncludedPaths_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "includedPaths");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsFileConfigCA method setConfigParameter_Terms.
public void setConfigParameter_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "configParameter");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsFileConfigCA method setCreatedBy_Terms.
public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations