use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsFailureUrlCA method setUrl_SignificantTerms.
public void setUrl_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "url");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsFailureUrlCA method setConfigId_SignificantTerms.
public void setConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "configId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsFailureUrlCA method setErrorLog_SignificantTerms.
public void setErrorLog_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "errorLog");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsElevateWordToLabelCA method setElevateWordId_SignificantTerms.
public void setElevateWordId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "elevateWordId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsElevateWordToLabelCA method setLabelTypeId_SignificantTerms.
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations