Search in sources :

Example 11 with ThumbnailQueueCA

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

the class BsThumbnailQueueCA method setGenerator_Missing.

public void setGenerator_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "generator");
    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 12 with ThumbnailQueueCA

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

the class BsThumbnailQueueCA method setUrl_IpRange.

public void setUrl_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    IpRangeAggregationBuilder builder = regIpRangeA(name, "url");
    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 13 with ThumbnailQueueCA

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

the class BsThumbnailQueueCA method setGenerator_IpRange.

public void setGenerator_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    IpRangeAggregationBuilder builder = regIpRangeA(name, "generator");
    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 14 with ThumbnailQueueCA

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

the class BsThumbnailQueueCA method setPath_SignificantTerms.

public void setPath_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(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) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)

Example 15 with ThumbnailQueueCA

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

the class BsThumbnailQueueCA method setUrl_Missing.

public void setUrl_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "url");
    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)

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