Search in sources :

Example 71 with TermsAggregationBuilder

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

the class BsWebConfigCA method setIncludedUrls_Terms.

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

Example 72 with TermsAggregationBuilder

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

the class BsWebConfigCA method setIncludedDocUrls_Terms.

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

Example 73 with TermsAggregationBuilder

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

the class BsWebConfigCA method setExcludedUrls_Terms.

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

Example 74 with TermsAggregationBuilder

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

the class BsClickLogCA method setQueryId_Terms.

public void setQueryId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsClickLogCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "queryId");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ClickLogCA ca = new ClickLogCA();
        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) ClickLogCA(org.codelibs.fess.es.log.cbean.ca.ClickLogCA)

Example 75 with TermsAggregationBuilder

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

the class BsFavoriteLogCA method setUrl_Terms.

public void setUrl_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
    TermsAggregationBuilder builder = regTermsA(name, "url");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FavoriteLogCA ca = new FavoriteLogCA();
        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) FavoriteLogCA(org.codelibs.fess.es.log.cbean.ca.FavoriteLogCA)

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