Liking cljdoc? Tell your friends :D

es-utils


actual-index-nameclj

(actual-index-name es-host index-name)

as-input-streamclj

(as-input-stream index-config)

Given a path returns an input-stream

Given a path returns an input-stream
raw docstring

configure-indexclj

(configure-index es-host {:keys [alias conf data] :as index-conf})

create-indexclj

(create-index es-host index-name index-config)

data->index-nameclj

(data->index-name data-file)

delete-all-docsclj

(delete-all-docs es-host es-index-confs)

es-ready?clj

(es-ready? es-host)

exists?clj

(exists? es-host index-name)

export-docs-for-bulk-via-httpclj

(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")
raw docstring

import-test-data-to-esclj

(import-test-data-to-es es-host es-index-name input-file)

load-test-dataclj

(load-test-data env default-es-host index-confs)

prepare-indicesclj

(prepare-indices env es-host es-index-confs)

put-aliasclj

(put-alias es-host index-name alias)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close