use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsBadWordCA method setUpdatedBy_SignificantTerms.
public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsBadWordCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
BadWordCA ca = new BadWordCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsAccessTokenCA method setCreatedBy_SignificantTerms.
public void setCreatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsAccessTokenCA method setToken_SignificantTerms.
public void setToken_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "token");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsAccessTokenCA method setParameterName_SignificantTerms.
public void setParameterName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "parameter_name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setInternationaliSDNNumber_SignificantTerms.
public void setInternationaliSDNNumber_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "internationaliSDNNumber");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations