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

gefragt vor 2 Monaten514 Aufrufe
1 Antwort
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
EXPERTE
Roi
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen