Search in sources :

Example 11 with IpRangeAggregationBuilder

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

the class BsDataConfigToRoleCA method setDataConfigId_IpRange.

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

Example 12 with IpRangeAggregationBuilder

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

the class BsCrawlingInfoParamCA method setCrawlingInfoId_IpRange.

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

Example 13 with IpRangeAggregationBuilder

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

the class BsCrawlingInfoParamCA method setValue_IpRange.

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

Example 14 with IpRangeAggregationBuilder

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

the class BsDataConfigCA method setCreatedBy_IpRange.

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

Example 15 with IpRangeAggregationBuilder

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

the class BsDataConfigToLabelCA method setLabelTypeId_IpRange.

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

Aggregations

IpRangeAggregationBuilder (org.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder)211 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)11 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)11 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)10 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)7 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)7 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)7 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 ThumbnailQueueCA (org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)5 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)5 BoostDocumentRuleCA (org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA)4 DuplicateHostCA (org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA)4