title: How to retrieve all the document ids from an elasticsearch index
body: <p>How to retrieve all the document ids (the internal document '_id') from an Elasticsearch index? if I have 20 million documents in that index, what is the best way to do that?</p>