use of org.codelibs.fess.es.config.cbean.ca.CrawlingInfoCA in project fess by codelibs.
the class BsCrawlingInfoCA method setCreatedTime_Histogram.
public void setCreatedTime_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "createdTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
CrawlingInfoCA ca = new CrawlingInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.CrawlingInfoCA in project fess by codelibs.
the class BsCrawlingInfoCA method setExpiredTime_Missing.
public void setExpiredTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "expiredTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
CrawlingInfoCA ca = new CrawlingInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations