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

版本: 6.8-8.9

简而言之,当 Elasticsearch 的图形定义中存在无效或未识别的属性时,就会发生此错误。这可能是由于拼写错误、语法错误或使用了不支持的属性导致的。

要解决此问题,首先应验证图形定义中的属性名称及其语法。确保所有属性拼写正确,并且受你所使用的 Elasticsearch 版本支持。如果错误仍然存在,考虑简化你的图形定义以识别有问题的属性。

日志上下文 #

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

token.name()
 );
 }
parseControls(parser; graphRequest);
 } 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());
 }