Search in sources :

Example 1 with ThumbnailQueueCA

use of org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA in project fess by codelibs.

the class BsThumbnailQueueCA method setCreatedBy_IpRange.

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

Example 2 with ThumbnailQueueCA

use of org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA 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 3 with ThumbnailQueueCA

use of org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA in project fess by codelibs.

the class BsThumbnailQueueCA method setCreatedTime_Range.

public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    RangeAggregationBuilder builder = regRangeA(name, "createdTime");
    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) IpRangeAggregationBuilder(org.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder) RangeAggregationBuilder(org.elasticsearch.search.aggregations.bucket.range.RangeAggregationBuilder)

Example 4 with ThumbnailQueueCA

use of org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA 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 5 with ThumbnailQueueCA

use of org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA in project fess by codelibs.

the class BsThumbnailQueueCA method setTarget_IpRange.

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

Aggregations

ThumbnailQueueCA (org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)30 SignificantTermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)12 MissingAggregationBuilder (org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder)7 IpRangeAggregationBuilder (org.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder)7 TermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder)6 ThumbnailQueueCQ (org.codelibs.fess.es.config.cbean.cq.ThumbnailQueueCQ)1 BsThumbnailQueueCQ (org.codelibs.fess.es.config.cbean.cq.bs.BsThumbnailQueueCQ)1 FilterAggregationBuilder (org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder)1 GlobalAggregationBuilder (org.elasticsearch.search.aggregations.bucket.global.GlobalAggregationBuilder)1 HistogramAggregationBuilder (org.elasticsearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder)1 RangeAggregationBuilder (org.elasticsearch.search.aggregations.bucket.range.RangeAggregationBuilder)1 SamplerAggregationBuilder (org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder)1