use of org.codelibs.fess.es.config.cbean.ca.FileConfigCA in project fess by codelibs.
the class BsFileConfigCA method setNumOfThread_Range.
public void setNumOfThread_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
RangeAggregationBuilder builder = regRangeA(name, "numOfThread");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigCA in project fess by codelibs.
the class BsFileConfigCA method setPermissions_SignificantTerms.
public void setPermissions_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "permissions");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigCA in project fess by codelibs.
the class BsFileConfigCA method setCreatedTime_Missing.
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "createdTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigCA in project fess by codelibs.
the class BsFileConfigCA method setIncludedPaths_Missing.
public void setIncludedPaths_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "includedPaths");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations