Skip to content

Commit 275ed22

Browse files
Josh TillesJosh Tilles
Josh Tilles
authored and
Josh Tilles
committed
tmp! Remove indices.snapshot_index stuff from REST
I believe this has been broken since Elasticsearch 1.0 Relevant links: - <http://web.archive.org/web/20130227064817/http://www.elasticsearch.org/guide/reference/api/admin-indices-gateway-snapshot.html> - <elastic/elasticsearch#5422>
1 parent d09b71d commit 275ed22

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/clojurewerkz/elastisch/rest.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@
199199
[conn ^String index-name]
200200
(url-with-path conn index-name "_close"))
201201

202-
(defn index-snapshot-url
203-
[conn ^String index-name]
204-
(url-with-path conn index-name "_gateway/snapshot"))
205-
206202
(defn index-mget-url
207203
([conn]
208204
(url-with-path conn "_mget"))

src/clojurewerkz/elastisch/rest/index.clj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@
171171
(rest/post conn (rest/index-close-url conn
172172
(join-names index-name))))
173173

174-
(defn snapshot
175-
"Takes a snapshot of an index or multiple indexes.
176-
177-
API Reference: <http://www.elasticsearch.org/guide/reference/api/admin-indices-gateway-snapshot.html>"
178-
[^Connection conn index-name]
179-
(rest/post conn (rest/index-snapshot-url conn
180-
index-name)))
181-
182174
(defn refresh
183175
"Refreshes an index or multiple indices manually.
184176

0 commit comments

Comments
 (0)