It'd be useful to have a tool to dump the Elasticsearch index to a file. It'd be most useful if that file were in the Elasticsearch bulk format. That way you could load the file with a one line command if it is small:
curl -s -XPOST localhost:9200/_bulk --data-binary @thefile
Or if it is large you could chunk it:
rm -f chunked split thefile chunked/chunk for chunk in chunked/chunk*; do echo $chunk curl -s -XPOST localhost:9200/_bulk --data-binary @$chunk done
Stakeholders: Cirrus developers, external users
Benefits: Allows developers to pull an index back to their local development system for testing. We could also do this as a dump like we do the xml dumps for other folks.
Estimate: David Causse intro task. Highly variable because its for getting acclimated with the code.