Liking cljdoc? Tell your friends :D
Clojure only.

clojurewerkz.elastisch.native.conversion


->action-requestsclj

(->action-requests a)
source

->clear-indices-cache-requestclj

(->clear-indices-cache-request index-name
                               {:keys [filter-cache field-data-cache id-cache
                                       fields]})
source

->close-index-requestclj

(->close-index-request index-name)

closes index or indices for updating

closes index or indices for updating
sourceraw docstring

->count-requestclj

(->count-request index-name options)
(->count-request index-name mapping-type {:keys [source min-score routing]})
source

->create-index-requestclj

(->create-index-request index-name settings mappings)
source

->create-index-template-requestclj

(->create-index-template-request template-name {:as options})
source

->create-snapshot-requestclj

(->create-snapshot-request repository
                           snapshot
                           {:keys [wait-for-completion? partial settings
                                   indices]})
source

->delete-index-requestclj

(->delete-index-request)
(->delete-index-request index-name)
source

->delete-index-template-requestclj

(->delete-index-template-request template-name)
source

->delete-requestclj

(->delete-request index-name mapping-type id)
(->delete-request index-name
                  mapping-type
                  id
                  {:keys [routing refresh version version-type parent]})
source

->delete-snapshot-requestclj

(->delete-snapshot-request repository snapshot)
source

->flush-index-requestclj

(->flush-index-request index-name {:keys [force wait-if-ongoing]})
source

->force-merge-requestclj

(->force-merge-request index-name
                       {:keys [max-num-segments only-expunge-deletes flush]})
source

->get-aliases-requestclj

(->get-aliases-request indices)
source

->get-mappings-requestclj

(->get-mappings-request)
(->get-mappings-request index-name mapping-type)
source

->get-requestclj

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

->get-settings-requestclj

(->get-settings-request index-name)
source

->get-settings-response->mapclj

(->get-settings-response->map res)
source

->index-exists-requestclj

(->index-exists-request index-name)
source

->index-requestclj

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

->index-stats-requestclj

(->index-stats-request)
(->index-stats-request {:keys [docs store indexing types groups get search merge
                               flush refresh]
                        :as request-opts})
source

->indices-aliases-requestclj

(->indices-aliases-request ops {:keys [timeout]})
source

->indices-segments-requestclj

(->indices-segments-request index-name)
source

->local-transport-addressclj

(->local-transport-address id)
source

->multi-get-requestclj

(->multi-get-request queries)
(->multi-get-request queries {:keys [preference refresh realtime]})

Builds a multi-get action request

Builds a multi-get action request
sourceraw docstring

->multi-search-requestclj

(->multi-search-request conn queries opts)
(->multi-search-request conn index queries opts)
(->multi-search-request conn index type queries opts)
source

->open-index-requestclj

(->open-index-request index-name)

opens closed index or indices for search

opens closed index or indices for search
sourceraw docstring

->partial-update-requestclj

(->partial-update-request index-name
                          mapping-type
                          id
                          partial-doc
                          {:keys [routing refresh retry-on-conflict fields
                                  parent]})
source

->put-index-template-requestclj

(->put-index-template-request template-name
                              {:keys [template settings mappings order]})
source

->put-mapping-requestclj

(->put-mapping-request index-name
                       mapping-type
                       {:keys [mapping mappings ignore_conflicts
                               ignore-conflicts]})
source

->put-repository-requestclj

(->put-repository-request name {:keys [type settings]})
source

->refresh-index-requestclj

(->refresh-index-request index-name)
source

->search-requestclj

(->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})
source

->search-scroll-requestclj

(->search-scroll-request scroll-id {:keys [scroll]})
source

->settingsclj

(->settings m)

Converts a Clojure map into immutable Elasticsearch settings

Converts a Clojure map into immutable Elasticsearch settings
sourceraw docstring

->socket-transport-addressclj

(->socket-transport-address host port)
source

->stringclj

(->string text)
source

->string-arrayclj

(->string-array index-name)

Coerces argument to an array of strings

Coerces argument to an array of strings
sourceraw docstring

->suggest-querycljmultimethod

source

->types-exists-requestclj

(->types-exists-request index-name type-name)
source

->update-requestclj

(->update-request index-name
                  mapping-type
                  id
                  doc
                  {:keys [doc_as_upsert fields parent refresh retry_on_conflict
                          routing script script_params scripted_upsert]})
source

->update-settings-requestclj

(->update-settings-request index-name settings)
source

->upsert-requestclj

(->upsert-request index-name
                  mapping-type
                  id
                  doc
                  {:keys [routing refresh retry-on-conflict fields parent
                          upsert]})
source

acknowledged-response->mapclj

(acknowledged-response->map res)
source

aggregations-to-mapclj

(aggregations-to-map aggs)
source

AggregatorPresentercljprotocol

aggregation-valueclj

(aggregation-value agg)

Presents an aggregation as immutable Clojure map

Presents an aggregation as immutable Clojure map
source

assoc-aggregation-valueclj

(assoc-aggregation-value acc [name agg])
source

attach-suggestion-contextclj

(attach-suggestion-context query context)

attach context for suggestion query.

attach context for suggestion query.
sourceraw docstring

boolean?clj

(boolean? value)
source

broadcast-operation-response->mapclj

(broadcast-operation-response->map res)
source

bulk-item-response->mapclj

(bulk-item-response->map item)
source

bulk-response->mapclj

(bulk-response->map response)
source

DeepMapConversioncljprotocol

deep-java-map->mapclj

(deep-java-map->map o)
source

default-content-typeclj

source

delete-response->mapclj

(delete-response->map r)
source

get-aliases-response->mapclj

(get-aliases-response->map r)
source

get-bulk-item-actionclj

(get-bulk-item-action doc)
source

get-mappings-response->mapclj

(get-mappings-response->map res)
source

get-response->mapclj

(get-response->map r)
source

get-result->mapclj

(get-result->map r)
source

histogram-bucket->mapclj

(histogram-bucket->map b)
source

index-response->mapclj

(index-response->map r)

Converts an index action response to a Clojure map

Converts an index action response to a Clojure map
sourceraw docstring

index-segments->mapclj

(index-segments->map segs)
source

indices-segments-response->mapclj

(indices-segments-response->map r)
source

indices-stats-response->mapclj

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

make-fieldclj

(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})
source

merge-sub-aggregationsclj

(merge-sub-aggregations m b)
source

multi-get-item-response->mapclj

(multi-get-item-response->map i)
source

multi-get-response->seqclj

(multi-get-response->seq r)
source

multi-search-response->seqclj

(multi-search-response->seq r)
source

percolate-response->mapclj

(percolate-response->map r)
source

range-bucket->mapclj

(range-bucket->map b)
source

remove-underscoresclj

(remove-underscores opts)
source

search-response->seqclj

(search-response->seq r)
source

shard-operation-failed-exception->mapclj

(shard-operation-failed-exception->map e)
source

suggest-response->seqclj

(suggest-response->seq r)
source

terms-bucket->mapclj

(terms-bucket->map b)
source

update-response->mapclj

(update-response->map r)
source

VersionTypeConversioncljprotocol

to-version-typeclj

(to-version-type input)

Picks a content type for given input

Picks a content type for given input
source

XContentTypeConversioncljprotocol

to-content-typeclj

(to-content-type input)

Picks a content type for given input

Picks a content type for given input
source

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

× close