-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using bulk operation #293
Labels
bug
Something isn't working
Comments
Thanks @yphinera for reporting this bug. |
xtermi2
added a commit
that referenced
this issue
Apr 27, 2024
Hi @xtermi2 you were so fast ! Thanks a lot, the code looks good and the fix works well 👍. The issue is resolve for me. |
xtermi2
added a commit
that referenced
this issue
May 2, 2024
…ll-no-longer-be-removed-from-migration-scripts bugfix #293: trailing newlines will no longer be removed from migrati…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we execute a bulk script :
we got this error :
Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [_bulk], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\n]"}],"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\n]"},"status":400}
while elasticsearch bulk api require a newline character \n
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
It seems elasticsearch-evolution lost the new line newline character
Could you fix it plz ?
Thanks in advance
The text was updated successfully, but these errors were encountered: