Search in sources :

Example 16 with MissingAggregationBuilder

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

the class BsCrawlingInfoParamCA method setCrawlingInfoId_Missing.

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

Example 17 with MissingAggregationBuilder

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

the class BsDataConfigCA method setHandlerName_Missing.

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

Example 18 with MissingAggregationBuilder

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

the class BsDataConfigCA method setPermissions_Missing.

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

Example 19 with MissingAggregationBuilder

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

the class BsDataConfigToLabelCA method setLabelTypeId_Missing.

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

Example 20 with MissingAggregationBuilder

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

the class BsDataConfigCA method setDescription_Missing.

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

Aggregations

MissingAggregationBuilder (org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder)302 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)40 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)22 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)21 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)17 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)13 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 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)10 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)10 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)9 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)9 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)9 KeyMatchCA (org.codelibs.fess.es.config.cbean.ca.KeyMatchCA)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 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)7 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)7