Search in sources :

Example 36 with TermsAggregationBuilder

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

the class BsFileAuthenticationCA method setParameters_Terms.

public void setParameters_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "parameters");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FileAuthenticationCA ca = new FileAuthenticationCA();
        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) FileAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)

Example 37 with TermsAggregationBuilder

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

the class BsJobLogCA method setJobName_Terms.

public void setJobName_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "jobName");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        JobLogCA ca = new JobLogCA();
        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) JobLogCA(org.codelibs.fess.es.config.cbean.ca.JobLogCA)

Example 38 with TermsAggregationBuilder

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

the class BsFileConfigCA method setExcludedPaths_Terms.

public void setExcludedPaths_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "excludedPaths");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FileConfigCA ca = new FileConfigCA();
        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) FileConfigCA(org.codelibs.fess.es.config.cbean.ca.FileConfigCA)

Example 39 with TermsAggregationBuilder

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

the class BsJobLogCA method setScriptData_Terms.

public void setScriptData_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "scriptData");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        JobLogCA ca = new JobLogCA();
        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) JobLogCA(org.codelibs.fess.es.config.cbean.ca.JobLogCA)

Example 40 with TermsAggregationBuilder

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

the class BsJobLogCA method setTarget_Terms.

public void setTarget_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "target");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        JobLogCA ca = new JobLogCA();
        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) JobLogCA(org.codelibs.fess.es.config.cbean.ca.JobLogCA)

Aggregations

TermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder)212 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 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)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