clojurewerkz.elastisch.rest.admin

cluster-health

(cluster-health conn & args)
see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-health.html

Examples:

(require '[clojurewerkz.elastisch.rest.admin :as admin])

(admin/cluster-health conn)
(admin/cluster-health conn :index "index1")
(admin/cluster-health conn :index ["index1","index2"])
(admin/cluster-health conn :index "index1" :pretty true :level "indices")

cluster-state

(cluster-state conn & args)
see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-state.html

Examples:

(require '[clojurewerkz.elastisch.rest.admin :as admin])

(admin/cluster-state conn)

delete-snapshot

(delete-snapshot conn repo name & args)

nodes-info

(nodes-info conn & args)
see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html

Examples:

(require '[clojurewerkz.elastisch.rest.admin :as admin])

(admin/nodes-info conn)
(admin/nodes-info conn :nodes ["10.0.0.1", "10.0.0.2"] :attributes ["os" "plugins"])

nodes-stats

(nodes-stats conn & args)
see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html

Examples:

(require '[clojurewerkz.elastisch.rest.admin :as admin])

(admin/nodes-stats conn)
(admin/nodes-stats conn :nodes ["10.0.0.1", "10.0.0.2"] :attributes ["os" "plugins"])

register-snapshot-repository

(register-snapshot-repository conn name & args)

restore-snapshot

(restore-snapshot conn repo name & args)

take-snapshot

(take-snapshot conn repo name & args)