Opensearch Request Entity Too Large

0

Good morning, I am trying to bulk reindex on AWS Opensearch but I am getting the following message error: Caused by: org.elasticsearch.client.ResponseException: method [POST], host [https://vpc-camp-dev-escluster-i3kk3yk6hcgivsxkmu3giujvyu.eu-central-1.es.amazonaws.com:443], URI [/_bulk?refresh=wait_for&timeout=1m], status line [HTTP/1.1 413 Request Entity Too Large] { "Message": "Request size exceeded 10485760 bytes" }

My backend is written with Java and when I try to execute with the same amount of data on my local Docker Desktop with Elasticsearch it works normally. Is there any Opensearch limitation that can be upgraded? Thanks

已提问 2 个月前515 查看次数
1 回答
0

From the ES docs:

If you hit this limit when sending a request to the Bulk API, configure your client to send fewer documents in each bulk request. If you wish to index individual documents that exceed 100mb, pre-process them into smaller documents before sending them to Elasticsearch.

Hope this helps!

profile pictureAWS
专家
Roi
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则