To view the all document available in indices code example
Example: To view the all document available in indices
curl -XGET http://www.example.com:9200/myIndexName/_search?pretty=true&q=*:*
curl -XGET http://www.example.com:9200/myIndexName/_search?pretty=true&q=*:*