Search in sources :

Example 21 with MissingAggregationBuilder

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

the class BsJobLogCA method setJobStatus_Missing.

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

Example 22 with MissingAggregationBuilder

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

the class BsLabelTypeCA method setValue_Missing.

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

Example 23 with MissingAggregationBuilder

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

the class BsRelatedQueryCA method setCreatedBy_Missing.

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

Example 24 with MissingAggregationBuilder

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

the class BsRelatedQueryCA method setUpdatedTime_Missing.

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

Example 25 with MissingAggregationBuilder

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

the class BsRoleTypeCA method setCreatedBy_Missing.

public void setCreatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsRoleTypeCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "createdBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        RoleTypeCA ca = new RoleTypeCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : RoleTypeCA(org.codelibs.fess.es.config.cbean.ca.RoleTypeCA) 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