版本: 6.8-7.17
简而言之,当 Elasticsearch 尝试访问系统中未注册的组件(如插件或模块)时,会出现此错误。这可能是由于组件缺失或安装不正确导致的。要解决此问题,您可以尝试重新安装组件或检查其配置。如果是自定义组件,请确保在 Elasticsearch 初始化过程中正确注册它。此外,请检查组件名称中是否存在拼写错误或大小写敏感问题。
日志上下文 #
日志 “no [” + registryName + “] registered for [” + name + “]” 的类名是 ParseFieldRegistry.java。 我们从 Elasticsearch 源代码中提取了以下内容,以便那些需要深入上下文的人参考:
* @throws ParsingException if the named thing isn't in the registry or the name was deprecated and deprecated names aren't supported.
*/
public T lookup(String name; XContentLocation xContentLocation; DeprecationHandler deprecationHandler) {
T value = lookupReturningNullIfNotFound(name; deprecationHandler);
if (value == null) {
throw new ParsingException(xContentLocation; "no [" + registryName + "] registered for [" + name + "]");
}
return value;
} /**





