Liking cljdoc? Tell your friends :D

clj-momo.lib.es.index


close!clj

(close! {:keys [uri cm]} index-name)

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

close an index

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

close an index
sourceraw docstring

create!clj

(create! {:keys [uri cm] :as conn} index-name settings)

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str settings :- s/Any]

create an index

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str settings :- s/Any]

create an index
sourceraw docstring

create-template!clj

(create-template! {:keys [uri cm]} index-name index-config)

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str index-config]

create an index template, update if already exists

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str index-config]

create an index template, update if already exists
sourceraw docstring

delete!clj

(delete! {:keys [uri cm] :as conn} index-wildcard)

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-wildcard :- s/Str]

delete indexes using a wildcard

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-wildcard :- s/Str]

delete indexes using a wildcard
sourceraw docstring

getclj

(get {:keys [uri cm] :as conn} index-name)

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str]

get an index

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str]

get an index
sourceraw docstring

index-exists?clj

(index-exists? {:keys [uri cm]} index-name)

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str] Returns: s/Bool

check if the supplied ES index exists

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]
Returns: s/Bool

check if the supplied ES index exists
sourceraw docstring

index-uriclj

(index-uri uri index-name)

Inputs: [uri :- s/Str index-name :- s/Str] Returns: s/Str

make an index uri from a host and an index name

Inputs: [uri :- s/Str index-name :- s/Str]
Returns: s/Str

make an index uri from a host and an index name
sourceraw docstring

open!clj

(open! {:keys [uri cm]} index-name)

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

open an index

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

open an index
sourceraw docstring

refresh!clj

(refresh! {:keys [uri cm]} index-name)

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

refresh an index

Inputs: [{:keys [uri cm]} :- ESConn index-name :- s/Str]

refresh an index
sourceraw docstring

template-uriclj

(template-uri uri template-name)

Inputs: [uri :- s/Str template-name :- s/Str] Returns: s/Str

make a template uri from a host and a template name

Inputs: [uri :- s/Str template-name :- s/Str]
Returns: s/Str

make a template uri from a host and a template name
sourceraw docstring

update-settings!clj

(update-settings! {:keys [uri cm] :as conn} index-name settings)

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str settings :- s/Any]

update an ES index settings

Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str settings :- s/Any]

update an ES index settings
sourceraw docstring

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

× close