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

版本: 7.9-7.12

简而言之,当您尝试在 Elasticsearch 中使用管道字符时会出现此错误,因为当前版本不支持该字符。管道字符在编程中常用于各种操作,但 Elasticsearch 目前不支持它。要解决此问题,您应该避免在查询或脚本中使用管道字符。相反,请使用 Elasticsearch 中支持的操作符和函数。如果您尝试执行复杂操作,请考虑将其分解为 Elasticsearch 可以处理的更简单的部分。

日志上下文 #

日志"Pipe [{}] is not supported yet"的类名是 LogicalPlanBuilder.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人使用:

Expression tailLimit = pipeIntArgument(source(ctx); name; ctx.booleanExpression());
 // negate the limit
 return new Tail(source(ctx); tailLimit; plan);  default:
 throw new ParsingException(source(ctx); "Pipe [{}] is not supported yet"; name);
 }
 }  private Expression onlyOnePipeArgument(Source source; String pipeName; Listexps) {
 int size = CollectionUtils.isEmpty(exps) ? 0 : exps.size();