Liking cljdoc? Tell your friends :D

rubber.core

Common functions (put/get/post/delete)

Common functions (put/get/post/delete)
raw docstring

allclj

(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
sourceraw docstring

bulk-getclj

(bulk-get index t ids)

Bulk get a list of documents with ids (bulk-get :people :person [*1 *2])

Bulk get a list of documents with ids
(bulk-get :people :person [*1 *2])
sourceraw docstring

callclj

(call verb target)
(call verb target body)
source

conn-prefixclj

source

createclj

(create index t m)

Persist instance m of and return generated id (create :people :person {:name "john"})

Persist instance m of and return generated id
(create :people :person {:name "john"})
sourceraw docstring

create-indexclj

(create-index index {:keys [mappings] :as spec})

Create an index with provided (single) mappings (since 6.X) (create-index :people {:mappings {:person {:properties {:name {:type "text"}}}}})

Create an index with provided (single) mappings (since 6.X)
(create-index :people {:mappings {:person {:properties {:name {:type "text"}}}}})
sourceraw docstring

default-settingsclj

source

deleteclj

(delete index t)
(delete index t id)

Delete all under index or a single id

Delete all under index or a single id
sourceraw docstring

delete-allclj

(delete-all index)
source

delete-byclj

(delete-by index t query)

Delete by query like {:match {:type "nmap scan"}}

Delete by query like {:match {:type "nmap scan"}}
sourceraw docstring

delete-indexclj

(delete-index idx)

Delete an index (delete-index :people)

Delete an index
(delete-index :people)
sourceraw docstring

error-mclj

(error-m e)
source

exists?clj

(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
sourceraw docstring

getclj

(get index t id)

(get :people :person *1)

(get :people :person *1)
sourceraw docstring

list-indicesclj

(list-indices)

List all available indices

List all available indices
sourceraw docstring

mappingsclj

(mappings idx t)

get index mappings

get index mappings
sourceraw docstring

missing?clj

(missing? verb e)

A document missing error reponse

A document missing error reponse
sourceraw docstring

prefix-switchclj

(prefix-switch k)

Change Elasticsearch connection prefix (connect to another instance)

Change Elasticsearch connection prefix (connect to another instance)
sourceraw docstring

pretty-errorclj

(pretty-error m)

A pretty print error log

A pretty print error log
sourceraw docstring

putclj

(put index t id m)
source

refresh-indexclj

(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
sourceraw docstring

(search index input)

An Elasticsearch search query

An Elasticsearch search query
sourceraw docstring

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

× close