Commonly used comfort functions
Commonly used comfort 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 {:keys [mappings] :as spec})
Create an index with provided mappings
Create an index with provided mappings
(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
(pretty-error m)
A pretty print error log
A pretty print error log
(refresh-index index)
Refresh the index in order to get the lastest operations available for search
Refresh the index in order to get the lastest operations available for search
(search index input)
An Elasticsearch search query
An Elasticsearch search query
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close