Search in sources :

Example 96 with TermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.

the class BsUserCA method setPager_Terms.

public void setPager_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "pager");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        UserCA ca = new UserCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) UserCA(org.codelibs.fess.es.user.cbean.ca.UserCA)

Example 97 with TermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.

the class BsUserCA method setPostalCode_Terms.

public void setPostalCode_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "postalCode");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        UserCA ca = new UserCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) UserCA(org.codelibs.fess.es.user.cbean.ca.UserCA)

Example 98 with TermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.

the class BsUserCA method setTelephoneNumber_Terms.

public void setTelephoneNumber_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "telephoneNumber");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        UserCA ca = new UserCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) UserCA(org.codelibs.fess.es.user.cbean.ca.UserCA)

Example 99 with TermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.

the class BsUserCA method setSurname_Terms.

public void setSurname_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "surname");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        UserCA ca = new UserCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) UserCA(org.codelibs.fess.es.user.cbean.ca.UserCA)

Example 100 with TermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.

the class BsUserCA method setGroups_Terms.

public void setGroups_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "groups");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        UserCA ca = new UserCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) UserCA(org.codelibs.fess.es.user.cbean.ca.UserCA)

Aggregations

TermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder)206 SignificantTermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)205 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)13 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)12 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)11 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)8 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)8 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)7 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)6 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)6 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)5 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)5 KeyMatchCA (org.codelibs.fess.es.config.cbean.ca.KeyMatchCA)5 RelatedContentCA (org.codelibs.fess.es.config.cbean.ca.RelatedContentCA)5 RelatedQueryCA (org.codelibs.fess.es.config.cbean.ca.RelatedQueryCA)5