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

版本: 8.2-8.9

简要地说,当 Profile 不同iator 值超过 Elasticsearch 中为 base Uid 设置的最大限制时,会出现此错误。这可能是由于配置不正确或异常高的值导致的。要解决此问题,您可以将 Profile 不同iator 值降低到可接受的范围内,或者增加 base Uid 的最大限制。此外,请确保您的配置设置正确,并且您使用的值适合您的特定用例。

日志上下文 #

日志 “profile differentiator value is too high for base Uid [{}]” 类名称是 ProfileService.java. 我们从 Elasticsearch 源代码中提取了以下内容,以供那些寻求深入上下文的人参考:

return;
}
// Prevent infinite recursion. It is practically impossible to get this many clashes
if (differentiator >= DIFFERENTIATOR_UPPER_LIMIT) {
    listener.onFailure(
        new ElasticsearchException("profile differentiator value is too high for base Uid [{}]"; uid.substring(0; index))
    );
    return;
}
// New uid by increment the differentiator by 1
final String newUid = baseUid + "_" + (differentiator + 1);