use of org.codelibs.fess.es.config.cbean.ca.FileConfigCA in project fess by codelibs.
the class BsFileConfigCA method setNumOfThread_Histogram.
public void setNumOfThread_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(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 setExcludedPaths_Missing.
public void setExcludedPaths_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "excludedPaths");
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_SignificantTerms.
public void setIncludedPaths_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "includedPaths");
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 setAvailable_Histogram.
public void setAvailable_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "available");
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_Terms.
public void setIncludedPaths_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "includedPaths");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations