Elasticsearch Curl Commands List all documents in a index

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

curl -XGET http://www.example.com:9200/myIndexName/_search?pretty=true&q=*:*

This uses the Search API and will return all the entries under index myIndexName.

Reference Link: Here



Got any Elasticsearch Question?