use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method setRegularName_IpRange.
public void setRegularName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "regularName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method setDuplicateHostName_IpRange.
public void setDuplicateHostName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "duplicateHostName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method setRegularName_Missing.
public void setRegularName_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "regularName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method setDuplicateHostName_Terms.
public void setDuplicateHostName_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "duplicateHostName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method setSortOrder_Histogram.
public void setSortOrder_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "sortOrder");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations