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.
1 parent 3f136b5 commit 129ed4aCopy full SHA for 129ed4a
src/Elasticsearch/Namespaces/IndicesNamespace.php
@@ -248,14 +248,16 @@ public function shrink($params = array())
248
{
249
$index = $this->extractArgument($params, 'index');
250
$target = $this->extractArgument($params, 'target');
251
+ $body = $this->extractArgument($params, 'body');
252
253
/** @var callback $endpointBuilder */
254
$endpointBuilder = $this->endpoints;
255
256
/** @var \Elasticsearch\Endpoints\Indices\Shrink $endpoint */
257
$endpoint = $endpointBuilder('Indices\Shrink');
258
$endpoint->setIndex($index)
- ->setTarget($target);
259
+ ->setTarget($target)
260
+ ->setBody($body);
261
262
return $this->performRequest($endpoint);
263
}
0 commit comments