問題
- 再インデックス作成中に以下のエラーが発生しました:
-
Error reindexing all com.liferay.journal.model.JournalArticle for company: 10157
com.liferay.portal.kernel.log.LogSanitizerException: java.lang.RuntimeException: ElasticsearchStatusException[Unable to parse response body]; nested: ResponseException[method [POST], host [http://daltstlfrsrch02:9200], URI [/_bulk?refresh=true&timeout=1m], status line [HTTP/1.1 413 Request Entity Too Large]_]; [Sanitized]
(...)
Caused by: com.liferay.portal.kernel.log.LogSanitizerException: org.elasticsearch.client.ResponseException: method [POST], host [http://daltstlfrsrch02:9200], URI [/_bulk?refresh=true&timeout=1m], status line [HTTP/1.1 413 Request Entity Too Large]_ [Sanitized]
-
環境
- DXP 7.4
解決
- このエラーは、
http.max_content_length
の値が、インデックス再作成リクエストに対応するのに十分でない場合に発生します。 -
elasticsearch.yml
ファイルのhttp.max_content_length
の値を変更してください。デフォルト値は 100mb です。 この値はリクエストの大きさに合わせて増やすことができます。
会員限定記事
Liferay エンタープライズ サブスクリプションをお持ちのお客様は1500件を超えるベストプラクティス、トラブルシューティング、その他のソリューション記事を閲覧できます。ログインすると、記事全体をお読みいただけます。
ログイン