use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setProtocolScheme_SignificantTerms.
public void setProtocolScheme_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "protocolScheme");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setPassword_SignificantTerms.
public void setPassword_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "password");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setUsername_SignificantTerms.
public void setUsername_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "username");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsWebConfigCA method setExcludedDocUrls_SignificantTerms.
public void setExcludedDocUrls_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "excludedDocUrls");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.
the class BsWebConfigToLabelCA method setWebConfigId_SignificantTerms.
public void setWebConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "webConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations