use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsDataConfigCA method setName_SignificantTerms.
public void setName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "name");
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.SignificantTermsAggregationBuilder 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.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsDataConfigCA method setUpdatedBy_SignificantTerms.
public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(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.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsDuplicateHostCA method setRegularName_SignificantTerms.
public void setRegularName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "regularName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsElevateWordCA method setSuggestWord_SignificantTerms.
public void setSuggestWord_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsElevateWordCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "suggestWord");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ElevateWordCA ca = new ElevateWordCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations