But neither of them seems give acceptable performance.
But neither of them seems to give acceptable performance.
So I rolled my own Bash script using the efficient [Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html) and [jq](http://stedolan.github.io/jq) for JSON parsing:
So I rolled my own Bash script using the efficient [Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html) and [jq](http://stedolan.github.io/jq) for JSON parsing: