Search in sources :

Example 1 with MissingAggregationBuilder

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

the class EsAbstractConditionAggregation method regMissingA.

protected MissingAggregationBuilder regMissingA(String name, String field) {
    MissingAggregationBuilder builder = AggregationBuilders.missing(name).field(field);
    regA(builder);
    return builder;
}
Also used : MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 2 with MissingAggregationBuilder

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

the class BsPathMappingCA method setUpdatedTime_Missing.

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

Example 3 with MissingAggregationBuilder

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

the class BsPathMappingCA method setCreatedTime_Missing.

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

Example 4 with MissingAggregationBuilder

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

the class BsPathMappingCA method setRegex_Missing.

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

Example 5 with MissingAggregationBuilder

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

the class BsPathMappingCA method setProcessType_Missing.

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

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