Search in sources :

Example 91 with MissingAggregationBuilder

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

the class BsDataConfigCA method setVirtualHosts_Missing.

public void setVirtualHosts_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "virtualHosts");
    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.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 92 with MissingAggregationBuilder

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

the class BsDataConfigCA method setCreatedTime_Missing.

public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "createdTime");
    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.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 93 with MissingAggregationBuilder

use of org.opensearch.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.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 94 with MissingAggregationBuilder

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

the class BsDuplicateHostCA method setSortOrder_Missing.

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

Example 95 with MissingAggregationBuilder

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

the class BsDuplicateHostCA method setDuplicateHostName_Missing.

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