Elasticsearch is returning very large payload for every bulk request


(Sai Birada) #1

when ever i ran a command like curl -XPOST localhost:9200/_bulk --data-binary @datafile , with data file of around 100000 docs, Elasticsearch is returning very large data payload (100000 results) which all are not required. And also returning that much payload is consuming resources. Is there any way to modify this response, so that when i run the query with data file of x docs, response will say y docs indexed and z docs failed thatsit.


(Mark Walkom) #2

Nope, we return a response for every document, and you should really be parsing that as well.


(system) #3