📣 极限科技诚招搜索运维工程师(Elasticsearch/Easysearch)- 全职/北京 👉 : 立即申请加入

版本: 6.8-8.9

简而言之,当您尝试使用 Elasticsearch 无法识别或不支持的参数时,会出现此错误。这可能是由于参数名称拼写错误、使用了已弃用的参数,或使用了当前 Elasticsearch 版本中不存在的参数。要解决此问题,您应该首先检查参数名称中是否存在拼写错误。如果没有拼写错误,请验证该参数在您使用的 Elasticsearch 版本中未被弃用或移除。如果是自定义参数,请确保其在 Elasticsearch 配置中正确实现。

日志上下文 #

日志 “parameter [{}] not supported!” 的类名是 DecayFunctionBuilder.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入了解的人参考:

origin = parser.doubleValue();
refFound = true;
} else if (DecayFunctionBuilder.OFFSET.equals(parameterName)) {
offset = parser.doubleValue();
} else {
throw new ElasticsearchParseException("parameter [{}] not supported!"; parameterName);
}
}
if (scaleFound == false || refFound == false) {
throw new ElasticsearchParseException(
"both [{}] and [{}] must be set for numeric fields.";