Skip to content

Commit 900ab93

Browse files
committed
Removed snapshot index and gateway from Indices, see #829
1 parent 22374ac commit 900ab93

File tree

3 files changed

+0
-133
lines changed

3 files changed

+0
-133
lines changed

src/Elasticsearch/Endpoints/Indices/Gateway/Snapshot.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/Elasticsearch/Endpoints/Indices/Snapshotindex.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/Elasticsearch/Namespaces/IndicesNamespace.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -211,31 +211,6 @@ public function putSettings($params = array())
211211
return $this->performRequest($endpoint);
212212
}
213213

214-
/**
215-
* $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string for all indices
216-
* ['ignore_unavailable'] = (bool) Whether specified concrete indices should be ignored when unavailable (missing or closed)
217-
* ['allow_no_indices'] = (bool) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
218-
* ['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both.
219-
*
220-
* @param array $params Associative array of parameters
221-
*
222-
* @return array
223-
*/
224-
public function snapshotIndex($params = array())
225-
{
226-
$index = $this->extractArgument($params, 'index');
227-
228-
/** @var callable $endpointBuilder */
229-
$endpointBuilder = $this->endpoints;
230-
231-
/** @var \Elasticsearch\Endpoints\Indices\Gateway\Snapshot $endpoint */
232-
$endpoint = $endpointBuilder('Indices\Gateway\Snapshot');
233-
$endpoint->setIndex($index);
234-
$endpoint->setParams($params);
235-
236-
return $this->performRequest($endpoint);
237-
}
238-
239214
/**
240215
* $params['index'] = (string) The name of the source index to shrink
241216
* ['target'] = (string) The name of the target index to shrink into

0 commit comments

Comments
 (0)