Search in sources :

Example 26 with IpRangeAggregationBuilder

use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.

the class BsWebConfigCA method setName_IpRange.

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

Example 27 with IpRangeAggregationBuilder

use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.

the class BsWebConfigCA method setConfigParameter_IpRange.

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

Example 28 with IpRangeAggregationBuilder

use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.

the class BsScheduledJobCA method setCreatedBy_IpRange.

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

Example 29 with IpRangeAggregationBuilder

use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.

the class BsScheduledJobCA method setTarget_IpRange.

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

Example 30 with IpRangeAggregationBuilder

use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.

the class BsScheduledJobCA method setScriptData_IpRange.

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

Aggregations

IpRangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder)205 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)13 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)12 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)11 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)8 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)8 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)7 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)6 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)6 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)5 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)5 KeyMatchCA (org.codelibs.fess.es.config.cbean.ca.KeyMatchCA)5 RelatedContentCA (org.codelibs.fess.es.config.cbean.ca.RelatedContentCA)5 RelatedQueryCA (org.codelibs.fess.es.config.cbean.ca.RelatedQueryCA)5 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)5