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

preguntada hace 2 meses515 visualizaciones
1 Respuesta
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
EXPERTO
Roi
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas