use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setProcessType_SignificantTerms.
public void setProcessType_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "processType");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setReplacement_SignificantTerms.
public void setReplacement_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "replacement");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setCreatedBy_SignificantTerms.
public void setCreatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setUpdatedBy_SignificantTerms.
public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsRelatedContentCA method setVirtualHost_SignificantTerms.
public void setVirtualHost_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "virtualHost");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RelatedContentCA ca = new RelatedContentCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations