Search in sources :

Example 61 with TermsAggregationBuilder

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

the class BsThumbnailQueueCA method setCreatedBy_Terms.

public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "createdBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ThumbnailQueueCA ca = new ThumbnailQueueCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : TermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) ThumbnailQueueCA(org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)

Example 62 with TermsAggregationBuilder

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

the class BsThumbnailQueueCA method setPath_Terms.

public void setPath_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "path");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ThumbnailQueueCA ca = new ThumbnailQueueCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : TermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) ThumbnailQueueCA(org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)

Example 63 with TermsAggregationBuilder

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

the class BsScheduledJobCA method setCreatedBy_Terms.

public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "createdBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ScheduledJobCA ca = new ScheduledJobCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : TermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) ScheduledJobCA(org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)

Example 64 with TermsAggregationBuilder

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

the class BsWebAuthenticationCA method setAuthRealm_Terms.

public void setAuthRealm_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "authRealm");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : TermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)

Example 65 with TermsAggregationBuilder

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

the class BsWebAuthenticationCA method setProtocolScheme_Terms.

public void setProtocolScheme_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "protocolScheme");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : TermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)

Aggregations

TermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder)215 SignificantTermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)207 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)11 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)11 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)10 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)7 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)7 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)7 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)7 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)6 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)6 ThumbnailQueueCA (org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)5 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)5 BoostDocumentRuleCA (org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA)4 DuplicateHostCA (org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA)4