Elasticsearch 6.4.3
Issue: /_search command returns:
index_not_found_exception
Specifically:
$ curl -X GET "192.168.2.2:9200/MyNew_Index/_search" -H 'Content-Type: application/json'
{
"from": 0,
"size": 40,
"sort":
...
Returns:
{
"error": {
"root_cause": [{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "MyNew_Index",
"index_uuid": "_na_",
"index": "MyNew_Index"
}],
...
But when I look to see what indexes are present, I see it:
$ curl -X GET "192.168.2.2:9200/_cat/indices?v" -H 'Content-Type: application/json'
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open MyNew_Index 71X8IOLzQaKqj7aaK5CRbA 50 1 900288822
3322978 1tb 533.4gb
What am I missing?