Elasticsearch query to return all records

I have a small database in Elasticsearch and for testing purposes would like to pull all records back. I am attempting to use a URL of the form...

http://localhost:9200/foo/_search?pretty=true&q={'matchAll':{''}}

Can someone give me the URL you would use to accomplish this, please?

Welcome!

Up to 10000 documents, you can use:

http://localhost:9200/foo/_search?size=10000

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.