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

版本: 6.8-8.9

简而言之,当 Elasticsearch 查询的图形定义中存在无效或未识别的属性时,就会发生此错误。这可能是由于拼写错误、语法不正确或使用了不存在的属性导致的。要解决此问题,您应该首先验证图形定义中的属性名称及其语法。确保它们拼写正确,并且是图形的有效属性。如果错误仍然存在,请查阅 Elasticsearch 文档以了解图形定义中属性的正确用法。

日志上下文 #

日志 “Illegal property in graph definition” 的类名是 RestGraphAction.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:

} else {
 throw new ElasticsearchParseException("Illegal object property in graph definition " + fieldName; token.name());  }
 } else {
 throw new ElasticsearchParseException("Illegal property in graph definition " + fieldName; token.name());
 }
 }
 }  private void parseVertices(XContentParser parser; Hop currentHop) throws IOException {