We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 830a6f6 + e0646ec commit 011fd17Copy full SHA for 011fd17
src/Elasticsearch/Endpoints/Indices/PutMapping.php
@@ -35,7 +35,7 @@ public function getURI(): string
35
return "/_mappings/$type";
36
}
37
if (isset($index)) {
38
- return "$index/_mapping";
+ return "/$index/_mapping";
39
40
throw new RuntimeException('Missing parameter for the endpoint indices.put_mapping');
41
0 commit comments