File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
src/clojurewerkz/elastisch Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 199
199
[conn ^String index-name]
200
200
(url-with-path conn index-name " _close" ))
201
201
202
- (defn index-snapshot-url
203
- [conn ^String index-name]
204
- (url-with-path conn index-name " _gateway/snapshot" ))
205
-
206
202
(defn index-mget-url
207
203
([conn]
208
204
(url-with-path conn " _mget" ))
Original file line number Diff line number Diff line change 171
171
(rest/post conn (rest/index-close-url conn
172
172
(join-names index-name))))
173
173
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
-
182
174
(defn refresh
183
175
" Refreshes an index or multiple indices manually.
184
176
You can’t perform that action at this time.
0 commit comments