So I would like to add a JSON document using the bulk API.
In terminal I use the command:
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/some_index/keyword/_bulk?pretty' --data-binary @ComparisonRequestTest.json
each entry in the JSON file is like this:
when I do the command, no errors and no messages, the terminal goes to the next prompt immediately. However, my file is 70MB so I don't think that it can realistically go so fast. Indeed, in Kibana the index is not created.
PS: If I do the same command on a smaller file, it works. So Maybe there is a limit to the size we can download.