clojurewerkz.elastisch.rest

*endpoint*

dynamic

->Connection

(->Connection uri http-opts)
Positional factory function for class clojurewerkz.elastisch.rest.Connection.

analyze-url

(analyze-url conn)(analyze-url conn index-name)

bulk-url

(bulk-url conn)(bulk-url conn index-name)(bulk-url conn index-name mapping-type)

cluster-health-url

(cluster-health-url conn index-name)

cluster-nodes-info-url

(cluster-nodes-info-url conn nodes attrs)

cluster-nodes-stats-url

(cluster-nodes-stats-url conn nodes attrs)

cluster-state-url

(cluster-state-url conn)

connect

(connect)(connect uri)(connect uri opts)
Connects to the given ElasticSearch endpoint and returns it

count-url

(count-url conn)(count-url conn index-name mapping-type)

delete

(delete conn uri)(delete conn uri {:keys [body], :as options})

delete-by-query-url

(delete-by-query-url conn)(delete-by-query-url conn index-name)(delete-by-query-url conn index-name mapping-type)

encoding

existing-doc-index-percolation-url

(existing-doc-index-percolation-url conn index-name percolator document-id)

get

(get conn uri)(get conn uri options)

head

(head conn uri)

index-aliases-batch-url

(index-aliases-batch-url conn)

index-aliases-url

(index-aliases-url conn index-name)

index-clear-cache-url

(index-clear-cache-url conn)(index-clear-cache-url conn index-name)

index-close-url

(index-close-url conn index-name)

index-flush-url

(index-flush-url conn)(index-flush-url conn index-name)

index-mapping-url

(index-mapping-url conn index-name)(index-mapping-url conn index-name mapping-type)

index-mget-url

(index-mget-url conn)(index-mget-url conn index-name)(index-mget-url conn index-name mapping-type)

index-open-url

(index-open-url conn index-name)

index-optimize-url

(index-optimize-url conn)(index-optimize-url conn index-name)

index-percolation-url

(index-percolation-url conn index-name percolator)

index-refresh-url

(index-refresh-url conn)(index-refresh-url conn index-name)(index-refresh-url conn index-name mapping-type)

index-segments-url

(index-segments-url conn)(index-segments-url conn index-name)

index-settings-url

(index-settings-url conn)(index-settings-url conn index-name)

index-snapshot-url

(index-snapshot-url conn index-name)

index-stats-url

(index-stats-url conn index-name)(index-stats-url conn index-name stat-name)

index-status-url

(index-status-url conn)(index-status-url conn index-name)

index-template-url

(index-template-url conn template-name)

index-url

(index-url conn index-name)

map->Connection

(map->Connection m__6289__auto__)
Factory function for class clojurewerkz.elastisch.rest.Connection, taking a map of keywords to field values.

mapping-type-url

(mapping-type-url conn index-name mapping-type)

more-like-this-url

(more-like-this-url conn index-name mapping-type id)

multi-search-url

(multi-search-url conn)(multi-search-url conn index-name)(multi-search-url conn index-name mapping-type)

percolator-url

(percolator-url conn index-name percolator)

post

(post conn uri)(post conn uri {:keys [body], :as options})

post-string

(post-string conn uri {:keys [body], :as options})

put

(put conn uri {:keys [body], :as options})

query-validation-url

(query-validation-url conn index-name)

record-update-url

(record-update-url conn index-name type id)

record-url

(record-url conn index-name type id)

restore-snapshot-url

(restore-snapshot-url conn repo name)

scroll-url

(scroll-url conn)

search-url

(search-url conn)(search-url conn index-name)(search-url conn index-name mapping-type)
Constructs search query URI for the given index (or multiple indexes) and mapping types.

0-arity form constructs a URI that searches across all indexes and all mappings
1-arity form constructs a URI for one or more indexes and all mappings in them.
2-arity form constructs a URI for one or more indexes and given mappings in them.

Passing index name as "_all" means searching across all indexes.

To specify multiple indexes or mapping types, pass them as collections

slash

snapshot-repository-registration-url

(snapshot-repository-registration-url conn name)

snapshot-url

(snapshot-url conn repo name)

throw-exceptions

url-with-path

(url-with-path conn & segments)