Search in sources :

Example 46 with MissingAggregationBuilder

use of org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.

the class BsWebConfigCA method setExcludedDocUrls_Missing.

public void setExcludedDocUrls_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "excludedDocUrls");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebConfigCA ca = new WebConfigCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) WebConfigCA(org.codelibs.fess.es.config.cbean.ca.WebConfigCA)

Example 47 with MissingAggregationBuilder

use of org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.

the class BsWebConfigCA method setName_Missing.

public void setName_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "name");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebConfigCA ca = new WebConfigCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) WebConfigCA(org.codelibs.fess.es.config.cbean.ca.WebConfigCA)

Example 48 with MissingAggregationBuilder

use of org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.

the class BsWebConfigCA method setIncludedUrls_Missing.

public void setIncludedUrls_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(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 : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) WebConfigCA(org.codelibs.fess.es.config.cbean.ca.WebConfigCA)

Example 49 with MissingAggregationBuilder

use of org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.

the class BsScheduledJobCA method setCrawler_Missing.

public void setCrawler_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "crawler");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ScheduledJobCA ca = new ScheduledJobCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) ScheduledJobCA(org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)

Example 50 with MissingAggregationBuilder

use of org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.

the class BsScheduledJobCA method setCronExpression_Missing.

public void setCronExpression_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "cronExpression");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        ScheduledJobCA ca = new ScheduledJobCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) ScheduledJobCA(org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)

Aggregations

MissingAggregationBuilder (org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)303 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)40 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)23 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)22 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)19 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)14 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)13 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)12 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)11 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)11 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)9 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)9 KeyMatchCA (org.codelibs.fess.es.config.cbean.ca.KeyMatchCA)9 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)9 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)8 RelatedContentCA (org.codelibs.fess.es.config.cbean.ca.RelatedContentCA)8 ClickLogCA (org.codelibs.fess.es.log.cbean.ca.ClickLogCA)8 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)7 BoostDocumentRuleCA (org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA)7 DuplicateHostCA (org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA)7