use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsSearchLogCA method setUserAgent_SignificantTerms.
public void setUserAgent_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsSearchLogCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "userAgent");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
SearchLogCA ca = new SearchLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsSearchFieldLogCA method setName_SignificantTerms.
public void setName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsSearchFieldLogCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
SearchFieldLogCA ca = new SearchFieldLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsRoleCA method setName_SignificantTerms.
public void setName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsRoleCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RoleCA ca = new RoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setPostOfficeBox_SignificantTerms.
public void setPostOfficeBox_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "postOfficeBox");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setState_SignificantTerms.
public void setState_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "state");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations