As part of the Elasticsearch 2.1 documentation, I see that wildcard (i.e. "*") can be used in requests to open / close a set of indices. However, I get an error when performing the request in Linux.
Request
curl -X POST http://$host:$port/context_*/_close?ignore_unavailable=true
Response
{
  "error":{
    "root_cause":[
      {
        "type":"index_not_found_exception",
        "reason":"no such index",
        "index":"context_*",
        "resource.type":"index_or_alias",
        "resource.id":"context_*"
      }
    ],
    "type":"index_not_found_exception","reason":"no such index",
    "index":"context_*",
    "resource.type":"index_or_alias",
    "resource.id":"context_*"
  },
  "status":404
} 
Can someone provide some insights on how to resolve this issue?