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

版本: 6.8-8.9

简而言之,当 Elasticsearch 尝试使用不存在的摄取管道时,会出现此错误。摄取管道用于在索引之前预处理文档。该错误表明在集群中找不到指定的管道。要解决此问题,您可以创建缺失的管道,或者如果管道名称拼写错误,则更正管道名称。或者,如果管道不是必需的,您可以从索引请求中删除管道参数。

日志上下文 #

日志 “pipeline [{}] is missing” 的类名是 IngestService.java。 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人使用:

if (Regex.simpleMatch(request.getId(); pipelineKey)) {
 toRemove.add(pipelineKey);
 }
 }
 if (toRemove.isEmpty() && Regex.isMatchAllPattern(request.getId()) == false) {
 throw new ResourceNotFoundException("pipeline [{}] is missing"; request.getId());
 } else if (toRemove.isEmpty()) {
 return currentIngestMetadata;
 }
 final MappipelinesCopy = new HashMap<>(pipelines);
 for (String key : toRemove) {