How to use bulk API with file using JEST Client


(Abhijeet Chinchole) #1

I am trying to delete documents from specific type of the Elasticsearch index. I have successfully executed CURL command > curl -s -XPOST http://localhost:9200/_bulk --data-binary '@/home/abhijeet/Downloads/elasticsearch-2.3.3/query.json'
Now I want to execute same command via JEST client. How it can be achieved ???


(Isabel Drost-Fromm) #2

Not sure if there are any JEST people reading this forum. You might be better off pinging the developers of that library directly.

Also if you prefer talking to Elasticsearch from Java via REST - your feedback on the new Java REST client here https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html would be highly appreciated.

Isabel


(system) #3