Skip to content

Commit

Permalink
Fix Cat/Fielddata endpoint URI
Browse files Browse the repository at this point in the history
Accidentally had a reference to 'aliases' in the URI, which obviously
would make the api work incorrectly :s
  • Loading branch information
polyfractal committed May 12, 2014
1 parent 950fbaa commit 4ea7149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Endpoints/Cat/Fielddata.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function getURI()
$uri = "/_cat/fielddata";

if (isset($fields) === true) {
$uri = "/_cat/aliases/$fields";
$uri = "/_cat/fielddata/$fields";
}

return $uri;
Expand Down

0 comments on commit 4ea7149

Please sign in to comment.