版本: 7.9-7.9
简而言之,当 Elasticsearch 中预期的聚合器与实际找到的聚合器不匹配时,就会发生此错误。这通常是由于版本不兼容或配置错误导致的。要解决此问题,您可以尝试以下方法:1) 确保集群中的所有节点都运行相同版本的 Elasticsearch。2) 检查配置文件是否存在任何错误或不一致。3) 如果您使用自定义插件,请确保它们与您的 Elasticsearch 版本兼容。4) 在进行任何更改后重启 Elasticsearch 集群。
日志上下文 #
日志 “Registry miss-match - expected MissingAggregatorSupplier; found [” 的类名是 MissingAggregatorFactory.java。 我们从 Elasticsearch 源代码中提取了以下内容,为那些寻求深入上下文的人提供参考:
CardinalityUpperBound cardinality;
Mapmetadata) throws IOException {
final AggregatorSupplier aggregatorSupplier = queryShardContext.getValuesSourceRegistry()
.getAggregator(config; MissingAggregationBuilder.NAME);
if (aggregatorSupplier instanceof MissingAggregatorSupplier == false) {
throw new AggregationExecutionException("Registry miss-match - expected MissingAggregatorSupplier; found [" +
aggregatorSupplier.getClass().toString() + "]");
} return ((MissingAggregatorSupplier) aggregatorSupplier).build(
name;





