Skip to content

Error using bulk operation  #293

@yphinera

Description

@yphinera

When we execute a bulk script :
image

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
image

It seems elasticsearch-evolution lost the new line newline character
image

Could you fix it plz ?

Thanks in advance

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions