Search in sources :

Example 11 with LabelTypeCA

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

the class BsLabelTypeCA method setExcludedPaths_Missing.

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

Example 12 with LabelTypeCA

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

the class BsLabelTypeCA method setCreatedTime_Missing.

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

Example 13 with LabelTypeCA

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

the class BsLabelTypeCA method setUpdatedBy_SignificantTerms.

public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsLabelTypeCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        LabelTypeCA ca = new LabelTypeCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) LabelTypeCA(org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)

Example 14 with LabelTypeCA

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

the class BsLabelTypeCA method setName_SignificantTerms.

public void setName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsLabelTypeCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "name");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        LabelTypeCA ca = new LabelTypeCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) LabelTypeCA(org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)

Example 15 with LabelTypeCA

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

the class BsLabelTypeCA method setUpdatedTime_Missing.

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

Aggregations

LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)44 SignificantTermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)16 MissingAggregationBuilder (org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)11 IpRangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder)11 TermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder)8 HistogramAggregationBuilder (org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder)3 RangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder)3 LabelTypeCQ (org.codelibs.fess.es.config.cbean.cq.LabelTypeCQ)1 BsLabelTypeCQ (org.codelibs.fess.es.config.cbean.cq.bs.BsLabelTypeCQ)1 FilterAggregationBuilder (org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder)1 GlobalAggregationBuilder (org.opensearch.search.aggregations.bucket.global.GlobalAggregationBuilder)1 SamplerAggregationBuilder (org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder)1