Search in sources :

Example 76 with MissingAggregationBuilder

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

the class BsPathMappingCA method setCreatedBy_Missing.

public void setCreatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "createdBy");
    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.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 77 with MissingAggregationBuilder

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

the class BsScheduledJobCA method setAvailable_Missing.

public void setAvailable_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "available");
    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.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder) ScheduledJobCA(org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)

Example 78 with MissingAggregationBuilder

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

the class BsThumbnailQueueCA method setPath_Missing.

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

Example 79 with MissingAggregationBuilder

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

the class BsThumbnailQueueCA method setThumbnailId_Missing.

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

Example 80 with MissingAggregationBuilder

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

the class BsScheduledJobCA method setCreatedTime_Missing.

public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "createdTime");
    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.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder) ScheduledJobCA(org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)

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