ES-6.3.0 PHP get() Namespace Elasticsearch->Namespaces->IndicesNamespace

When i call a function get() from Elasticsearch\Namespaces\IndicesNamespace with multiple comma-separated list of features then it gives me error.

Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":"Incorrect HTTP method for uri [/index1/_settings,_mappings] and method [GET], allowed: [POST]","status":405}

$params = [
 'index' => 'index1',
 'feature' => '_settings,_mappings',
];

$response = $client->indices()->get($params);

$response gives error as i said above.

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