Search in sources :

Example 21 with WebAuthenticationCA

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

the class BsWebAuthenticationCA method setAuthRealm_SignificantTerms.

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

Example 22 with WebAuthenticationCA

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

the class BsWebAuthenticationCA method setParameters_IpRange.

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

Example 23 with WebAuthenticationCA

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

the class BsWebAuthenticationCA method setPassword_SignificantTerms.

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

Example 24 with WebAuthenticationCA

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

the class BsWebAuthenticationCA method setUsername_Missing.

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

Example 25 with WebAuthenticationCA

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

the class BsWebAuthenticationCA method setCreatedBy_Missing.

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

Aggregations

WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)48 SignificantTermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)18 MissingAggregationBuilder (org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)12 IpRangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder)12 TermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder)9 HistogramAggregationBuilder (org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder)3 RangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder)3 WebAuthenticationCQ (org.codelibs.fess.es.config.cbean.cq.WebAuthenticationCQ)1 BsWebAuthenticationCQ (org.codelibs.fess.es.config.cbean.cq.bs.BsWebAuthenticationCQ)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