use of org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA in project fess by codelibs.
the class BsFileConfigToLabelCA method setLabelTypeId_SignificantTerms.
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToLabelCA ca = new FileConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA in project fess by codelibs.
the class BsFileConfigToLabelCA method setLabelTypeId_Missing.
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToLabelCA ca = new FileConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA in project fess by codelibs.
the class BsFileConfigToLabelCA method setFileConfigId_Terms.
public void setFileConfigId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "fileConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToLabelCA ca = new FileConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA in project fess by codelibs.
the class BsFileConfigToLabelCA method sampler.
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
SamplerAggregationBuilder builder = regSamplerA(name);
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToLabelCA ca = new FileConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA in project fess by codelibs.
the class BsFileConfigToLabelCA method setFileConfigId_Missing.
public void setFileConfigId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "fileConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToLabelCA ca = new FileConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations