use of org.codelibs.fess.es.config.cbean.ca.CrawlingInfoCA in project fess by codelibs.
the class BsCrawlingInfoCA method setSessionId_IpRange.
public void setSessionId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "sessionId");
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_Histogram.
public void setExpiredTime_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "expiredTime");
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 global.
public void global(String name, ConditionOptionCall<GlobalAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
GlobalAggregationBuilder builder = regGlobalA(name);
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 setSessionId_Terms.
public void setSessionId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "sessionId");
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 setSessionId_Missing.
public void setSessionId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "sessionId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
CrawlingInfoCA ca = new CrawlingInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations