gpt4 book ai didi

azure - Liferay elasticsearch 请求 [/liferay-abc20099] 包含无法识别的参数 : [include_type_name] status 400

转载 作者:行者123 更新时间:2023-12-03 06:54:21 24 4
gpt4 key购买 nike

我们在 azure 虚拟机上安装了 liferay。

今天我们提供了 azure elasticsearch 托管服务。

我们已在 liferay VM 中配置了带有身份验证的 azure elasticsearch。现在,当我们在 liferay 门户上单击“Reindex All”时,它显示成功,但是在 catalina 日志中显示异常:

Suppressed: org.elasticsearch.client.ResponseException: method [PUT], host [https://123456789.region.azure.elastic-cloud.com], URI [/liferay-abc20099?master_timeout=30s&include_type_name=true&timeout=30s], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/liferay-abc20099] contains unrecognized parameter: [include_type_name]"}],"type":"illegal_argument_exception","reason":"request [/liferay-abc20099] contains unrecognized parameter: [include_type_name]"},"status":400}

lifeary 上的 Elasticsearch 版本是 7.14.1微软elasticsearch有版本8.3.3

请建议解决此问题。谢谢。

最佳答案

你说:

Elasticsearch version on lifeary is 7.14.1 Microsoft elasticsearch has version 8.3.3"

但 Liferay 不适用于 Elasticsearch 8.3.3。尝试使用受支持的 7.x Elasticsearch 版本,请参阅 https://help.liferay.com/hc/es/articles/360016511651-Search-Engine-Compatibility-Matrix获取确切的版本

关于azure - Liferay elasticsearch 请求 [/liferay-abc20099] 包含无法识别的参数 : [include_type_name] status 400,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73211866/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com