(actual-index-name es-host index-name)
(as-input-stream index-config)
Given a path returns an input-stream
Given a path returns an input-stream
(configure-index es-host {:keys [alias conf data] :as index-conf})
(confs->host-index default-es-host es-index-confs)
(create-index es-host index-name index-config)
(data->index-name data-file)
(delete-all-docs es-host es-index-confs)
(delete-docs! es-host indices)
Params:
Params: - es-host: e.g. http://127.0.0.1:9200 - indices: a colection of index names e.g. ["index-1" "index-2"]
(es-ready? es-host)
(exists? es-host index-name)
(export-docs-for-bulk-via-http es-host index-name query out-file)
Example: (export-docs-for-bulk "http://127.0.0.1:9200" "index" {:query {:match_all {}} :size 1000} "output.json")
Example: (export-docs-for-bulk "http://127.0.0.1:9200" "index" {:query {:match_all {}} :size 1000} "output.json")
(import-test-data-to-es es-host es-index-name input-file)
(load-test-data env default-es-host index-confs)
(prepare-indices env es-host es-index-confs)
(put-alias es-host index-name alias)
(service-ready? endpoint)
(service-ready? endpoint service-name)
(service-ready? endpoint service-name timeout-seconds)
(service-ready? endpoint service-name timeout-seconds acceptable-resp?)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close