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

demandé il y a 2 mois514 vues
1 réponse
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
EXPERT
Roi
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions