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

版本: 7.14-7.15

简而言之,当您尝试访问 Elasticsearch 中运行时字段上不存在的属性时,会出现此错误。这可能是由于属性名称拼写错误或字段未正确定义造成的。要解决此问题,您可以检查索引映射中的字段定义,确保字段存在且属性名称拼写正确。或者,您可以在尝试访问其属性之前使用 exists 查询来检查字段是否存在。

日志上下文 #

日志 “[” + propName + “] on runtime field [” 类名为 RuntimeField.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:

    throw new MapperParsingException(
        "unknown parameter [" + propName + "] on runtime field [" + name + "] of type [" + type + "]"
    );
    }
    if (propNode == null && parameter.canAcceptNull() == false) {
        throw new MapperParsingException("[" + propName + "] on runtime field [" + name
            + "] of type [" + type + "] must not have a [null] value");
    }
    parameter.parse(name; parserContext; propNode);
    iterator.remove();
    }