(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
(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
(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
(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
(delete-template! {:keys [uri cm] :as conn} index-name)
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str]
delete a template
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str] delete a template
(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
(get-template {:keys [uri cm] :as conn} index-name)
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str]
get an index template
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str] get an index template
(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
(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
(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
(refresh! es-conn)
(refresh! {:keys [uri cm]} index-name)
Inputs: ([es-conn] [{:keys [uri cm]} :- ESConn index-name :- (s/maybe s/Str)])
refresh an index
Inputs: ([es-conn] [{:keys [uri cm]} :- ESConn index-name :- (s/maybe s/Str)]) refresh an index
(refresh-uri uri index-name)
Inputs: [uri :- s/Str index-name :- (s/maybe s/Str)] Returns: s/Str
make a refresh uri from a host, and optionally an index name
Inputs: [uri :- s/Str index-name :- (s/maybe s/Str)] Returns: s/Str make a refresh uri from a host, and optionally an index name
(rollover! es-conn alias conditions)
(rollover! {:keys [uri cm]}
alias
conditions
new-index-settings
new-index-name
dry_run)
Inputs: ([es-conn alias conditions] [{:keys [uri cm]} :- ESConn alias :- s/Str conditions :- RolloverConditions new-index-settings :- #:s{Any s/Any} new-index-name :- (s/maybe s/Str) dry_run :- (s/maybe s/Bool)])
run a rollover query on an alias with given conditions
Inputs: ([es-conn alias conditions] [{:keys [uri cm]} :- ESConn alias :- s/Str conditions :- RolloverConditions new-index-settings :- #:s{Any s/Any} new-index-name :- (s/maybe s/Str) dry_run :- (s/maybe s/Bool)]) run a rollover query on an alias with given conditions
(rollover-uri uri alias)
(rollover-uri uri alias new-index-name dry_run)
Inputs: ([uri alias] [uri :- s/Str alias :- s/Str new-index-name :- (s/maybe s/Str) dry_run :- s/Bool]) Returns: s/Str
make a rollover uri from a host and an index name
Inputs: ([uri alias] [uri :- s/Str alias :- s/Str new-index-name :- (s/maybe s/Str) dry_run :- s/Bool]) Returns: s/Str make a rollover uri from a host and an index name
(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
(update-mapping! {:keys [uri cm] :as conn} index-name mappings)
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str mappings :- s/Any]
Update an ES index mapping. takes a mappings map from type names to mapping types.
Inputs: [{:keys [uri cm], :as conn} :- ESConn index-name :- s/Str mappings :- s/Any] Update an ES index mapping. takes a mappings map from type names to mapping types.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close