org.elasticsearch.search.aggregations.bucket.range.RangeAggregationBuilder Java Examples
The following examples show how to use
org.elasticsearch.search.aggregations.bucket.range.RangeAggregationBuilder.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BsJobLogCA.java From fess with Apache License 2.0 | 5 votes |
public void setStartTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "startTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { JobLogCA ca = new JobLogCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #2
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setAvailable_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "available"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebConfigCA ca = new WebConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #3
Source File: BsGroupCA.java From fess with Apache License 2.0 | 5 votes |
public void setGidNumber_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsGroupCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "gidNumber"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { GroupCA ca = new GroupCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #4
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setIntervalTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "intervalTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebConfigCA ca = new WebConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #5
Source File: BsWebAuthenticationCA.java From fess with Apache License 2.0 | 5 votes |
public void setUpdatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "updatedTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebAuthenticationCA ca = new WebAuthenticationCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #6
Source File: BsCrawlingInfoCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { CrawlingInfoCA ca = new CrawlingInfoCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #7
Source File: BsSearchLogCA.java From fess with Apache License 2.0 | 5 votes |
public void setResponseTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsSearchLogCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "responseTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { SearchLogCA ca = new SearchLogCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #8
Source File: BsLabelTypeCA.java From fess with Apache License 2.0 | 5 votes |
public void setUpdatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsLabelTypeCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "updatedTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { LabelTypeCA ca = new LabelTypeCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #9
Source File: BsFileConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setIntervalTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "intervalTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { FileConfigCA ca = new FileConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #10
Source File: BsElevateWordCA.java From fess with Apache License 2.0 | 5 votes |
public void setUpdatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsElevateWordCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "updatedTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { ElevateWordCA ca = new ElevateWordCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #11
Source File: BsBadWordCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsBadWordCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { BadWordCA ca = new BadWordCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #12
Source File: BsRoleTypeCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsRoleTypeCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { RoleTypeCA ca = new RoleTypeCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #13
Source File: BsPathMappingCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { PathMappingCA ca = new PathMappingCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #14
Source File: BsKeyMatchCA.java From fess with Apache License 2.0 | 5 votes |
public void setMaxSize_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsKeyMatchCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "maxSize"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { KeyMatchCA ca = new KeyMatchCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #15
Source File: BsSearchLogCA.java From fess with Apache License 2.0 | 5 votes |
public void setQueryOffset_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsSearchLogCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "queryOffset"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { SearchLogCA ca = new SearchLogCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #16
Source File: BsDataConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setSortOrder_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsDataConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "sortOrder"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { DataConfigCA ca = new DataConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #17
Source File: BsRelatedContentCA.java From fess with Apache License 2.0 | 5 votes |
public void setSortOrder_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "sortOrder"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { RelatedContentCA ca = new RelatedContentCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #18
Source File: BsSearchLogCA.java From fess with Apache License 2.0 | 5 votes |
public void setHitCount_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsSearchLogCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "hitCount"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { SearchLogCA ca = new SearchLogCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #19
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setUpdatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "updatedTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebConfigCA ca = new WebConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #20
Source File: BsScheduledJobCA.java From fess with Apache License 2.0 | 5 votes |
public void setCrawler_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "crawler"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { ScheduledJobCA ca = new ScheduledJobCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #21
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 5 votes |
public void setBoost_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "boost"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebConfigCA ca = new WebConfigCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #22
Source File: BsRequestHeaderCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { RequestHeaderCA ca = new RequestHeaderCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #23
Source File: BsWebAuthenticationCA.java From fess with Apache License 2.0 | 5 votes |
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) { RangeAggregationBuilder builder = regRangeA(name, "createdTime"); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { WebAuthenticationCA ca = new WebAuthenticationCA(); aggsLambda.callback(ca); ca.getAggregationBuilderList().forEach(builder::subAggregation); } }
Example #24
Source File: BsRequestHeaderCA.java From fess with Apache License 2.0 | 4 votes |
public void setUpdatedTime_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda) { setUpdatedTime_Range("updatedTime", opLambda, null); }
Example #25
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 4 votes |
public void setBoost_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) { setBoost_Range("boost", opLambda, aggsLambda); }
Example #26
Source File: BsAccessTokenCA.java From fess with Apache License 2.0 | 4 votes |
public void setCreatedTime_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) { setCreatedTime_Range("createdTime", opLambda, aggsLambda); }
Example #27
Source File: BsFileConfigCA.java From fess with Apache License 2.0 | 4 votes |
public void setSortOrder_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) { setSortOrder_Range("sortOrder", opLambda, aggsLambda); }
Example #28
Source File: BsElevateWordCA.java From fess with Apache License 2.0 | 4 votes |
public void setBoost_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsElevateWordCA> aggsLambda) { setBoost_Range("boost", opLambda, aggsLambda); }
Example #29
Source File: BsWebConfigCA.java From fess with Apache License 2.0 | 4 votes |
public void setIntervalTime_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda) { setIntervalTime_Range("intervalTime", opLambda, null); }
Example #30
Source File: BsRelatedContentCA.java From fess with Apache License 2.0 | 4 votes |
public void setCreatedTime_Range(ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) { setCreatedTime_Range("createdTime", opLambda, aggsLambda); }