(->clear-indices-cache-request index-name
{:keys [filter-cache field-data-cache id-cache
fields]})
(->close-index-request index-name)
closes index or indices for updating
closes index or indices for updating
(->count-request index-name options)
(->count-request index-name mapping-type {:keys [source min-score routing]})
(->create-index-template-request template-name {:as options})
(->create-snapshot-request repository
snapshot
{:keys [wait-for-completion? partial settings
indices]})
(->delete-request index-name mapping-type id)
(->delete-request index-name
mapping-type
id
{:keys [routing refresh version version-type parent]})
(->force-merge-request index-name
{:keys [max-num-segments only-expunge-deletes flush]})
(->get-mappings-request)
(->get-mappings-request index-name mapping-type)
(->get-request index mapping-type id)
(->get-request index
mapping-type
id
{:keys [parent preference routing fields _source]})
Builds a get action request
Builds a get action request
(->index-request index mapping-type doc)
(->index-request index
mapping-type
doc
{:keys [id routing parent timestamp ttl op-type refresh version
version-type content-type]})
Builds an index action request
Builds an index action request
(->index-stats-request)
(->index-stats-request {:keys [docs store indexing types groups get search merge
flush refresh]
:as request-opts})
(->multi-get-request queries)
(->multi-get-request queries {:keys [preference refresh realtime]})
Builds a multi-get action request
Builds a multi-get action request
(->multi-search-request conn queries opts)
(->multi-search-request conn index queries opts)
(->multi-search-request conn index type queries opts)
(->open-index-request index-name)
opens closed index or indices for search
opens closed index or indices for search
(->partial-update-request index-name
mapping-type
id
partial-doc
{:keys [routing refresh retry-on-conflict fields
parent]})
(->put-index-template-request template-name
{:keys [template settings mappings order]})
(->put-mapping-request index-name
mapping-type
{:keys [mapping mappings ignore_conflicts
ignore-conflicts]})
(->search-request index-name
mapping-type
{:keys [search-type search_type scroll routing preference
query aggregations from size timeout template params
post-filter filter min-score version fields sort stats
_source highlight]
:as options})
(->settings m)
Converts a Clojure map into immutable Elasticsearch settings
Converts a Clojure map into immutable Elasticsearch settings
(->string-array index-name)
Coerces argument to an array of strings
Coerces argument to an array of strings
(->update-request index-name
mapping-type
id
doc
{:keys [doc_as_upsert fields parent refresh retry_on_conflict
routing script script_params scripted_upsert]})
(->upsert-request index-name
mapping-type
id
doc
{:keys [routing refresh retry-on-conflict fields parent
upsert]})
(aggregation-value agg)
Presents an aggregation as immutable Clojure map
Presents an aggregation as immutable Clojure map
(attach-suggestion-context query context)
attach context for suggestion query.
attach context for suggestion query.
(index-response->map r)
Converts an index action response to a Clojure map
Converts an index action response to a Clojure map
(indices-stats-response->map r)
(indices-stats-response->map r from-json?)
transforms a response of indices stats to the Clojure hash-map
note: parsing from JSON string presents index-names as Clojure keywords, which mean it may fail if you use characters not allowed as keyword. JSON version is used only for testing purpose or fallback when native version misses conversion method for a new field sneaked into newest release;
transforms a response of indices stats to the Clojure hash-map note: parsing from JSON string presents index-names as Clojure keywords, which mean it may fail if you use characters not allowed as keyword. JSON version is used only for testing purpose or fallback when native version misses conversion method for a new field sneaked into newest release;
(make-field field-name
{:keys [type pre_tags post_tags order highlight_filter fragment_size
number_of_fragments encoder require_field_match
boundary_max_scan boundary_chars fragmenter highlight_query
no_match_size phrase_limit force_source]
:as opts})
(to-version-type input)
Picks a content type for given input
Picks a content type for given input
(to-content-type input)
Picks a content type for given input
Picks a content type for given input
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close