use of org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA in project fess by codelibs.
the class BsDuplicateHostCA method global.
public void global(String name, ConditionOptionCall<GlobalAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
GlobalAggregationBuilder builder = regGlobalA(name);
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_Missing.
public void setDuplicateHostName_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(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_Missing.
public void setSortOrder_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "sortOrder");
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_SignificantTerms.
public void setRegularName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(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 setCreatedBy_IpRange.
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
DuplicateHostCA ca = new DuplicateHostCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations