Common ES functions
Common ES functions
(all index)
An all query using match all on provided index this should use scrolling for 10K systems
An all query using match all on provided index this should use scrolling for 10K systems
(create index t m)
Persist instance m of and return generated id
Persist instance m of and return generated id
(create-index index mappings)
Create an index with provided mappings
Create an index with provided mappings
(day-index k t day)
index for a specific day
index for a specific day
(delete index t)
(delete index t id)
Delete all under index or a single id
Delete all under index or a single id
(delete-by index t query)
Delete by query like {:match {:type "nmap scan"}}
Delete by query like {:match {:type "nmap scan"}}
(exists? index)
(exists? index t id)
Check if index exists or instance with id existing within an index
Check if index exists or instance with id existing within an index
(index k t)
index with key prefix and type postfix (since ES 6x onlys single type per index is supported)
index with key prefix and type postfix (since ES 6x onlys single type per index is supported)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close