clojurewerkz.elastisch.native.conversion

->action-requests

(->action-requests a)

->clear-indices-cache-request

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

->close-index-request

(->close-index-request index-name)
closes index or indices for updating

->count-request

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

->create-index-request

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

->create-index-template-request

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

->create-snapshot-request

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

->delete-by-query-request

(->delete-by-query-request index mapping-type source)(->delete-by-query-request index mapping-type source {:keys [routing]})

->delete-by-query-request-across-all-indices-and-types

(->delete-by-query-request-across-all-indices-and-types source)(->delete-by-query-request-across-all-indices-and-types source {:keys [routing]})

->delete-by-query-request-across-all-types

(->delete-by-query-request-across-all-types index source)(->delete-by-query-request-across-all-types index source {:keys [routing]})

->delete-index-request

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

->delete-index-template-request

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

->delete-mapping-request

(->delete-mapping-request index-name mapping-types)

->delete-request

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

->delete-snapshot-request

(->delete-snapshot-request repository snapshot)

->flush-index-request

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

->get-mappings-request

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

->get-request

(->get-request index mapping-type id)(->get-request index mapping-type id {:keys [parent preference routing fields _source]})
Builds a get action request

->get-settings-request

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

->get-settings-response->map

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

->index-exists-request

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

->index-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

->index-stats-request

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

->indices-aliases-request

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

->indices-segments-request

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

->indices-status-request

(->indices-status-request index-name {:keys [recovery snapshot]})

->local-transport-address

(->local-transport-address id)

->more-like-this-request

(->more-like-this-request index mapping-type id {:keys [routing fields mlt_fields percent-terms-to-match percent_terms_to_match max-query-terms max_query_terms stop-words stop_words min-doc-freq min_doc_freq min-word-len min_word_len max-word-len max_word_len boost-terms boost_terms query source search-type search_type size from]})

->multi-get-request

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

->multi-search-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

(->open-index-request index-name)
opens closed index or indices for search

->optimize-index-request

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

->partial-update-request

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

->put-index-template-request

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

->put-mapping-request

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

->put-repository-request

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

->refresh-index-request

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

->search-request

(->search-request index-name mapping-type {:keys [search-type search_type scroll routing preference query facets aggregations from size timeout post-filter filter min-score version fields sort stats _source highlight], :as options})

->search-scroll-request

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

->settings

(->settings m)
Converts a Clojure map into immutable ElasticSearch settings

->socket-transport-address

(->socket-transport-address host port)

->string

(->string text)

->string-array

(->string-array index-name)
Coerces argument to an array of strings

->suggest-query

multimethod

->types-exists-request

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

->update-request

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

->update-settings-request

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

->upsert-request

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

acknowledged-response->map

(acknowledged-response->map res)

aggregations-to-map

(aggregations-to-map aggs)

AggregatorPresenter

protocol

members

aggregation-value

(aggregation-value agg)
Presents an aggregation as immutable Clojure map

assoc-aggregation-value

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

attach-suggestion-context

(attach-suggestion-context query context)

broadcast-operation-response->map

(broadcast-operation-response->map res)

bulk-item-response->map

(bulk-item-response->map item)

bulk-response->map

(bulk-response->map response)

date-histogram-bucket->map

(date-histogram-bucket->map b)

date-range-bucket->map

(date-range-bucket->map b)

DeepMapConversion

protocol

members

deep-java-map->map

(deep-java-map->map o)

default-content-type

delete-by-query-response->map

(delete-by-query-response->map r)

delete-response->map

(delete-response->map r)

FacetConversion

protocol

members

facet-to-map

(facet-to-map facet)
Converts a facet into a Clojure map

get-bulk-item-action

(get-bulk-item-action doc)

get-mappings-response->map

(get-mappings-response->map res)

get-response->map

(get-response->map r)

get-result->map

(get-result->map r)

histogram-bucket->map

(histogram-bucket->map b)

index-response->map

(index-response->map r)
Converts an index action response to a Clojure map

index-segments->map

(index-segments->map segs)

indices-segments-response->map

(indices-segments-response->map r)

make-field

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

merge-sub-aggregations

(merge-sub-aggregations m b)

multi-get-item-response->map

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

multi-get-response->seq

(multi-get-response->seq r)

multi-search-response->seq

(multi-search-response->seq r)

percolate-response->map

(percolate-response->map r)

range-bucket->map

(range-bucket->map b)

remove-underscores

(remove-underscores opts)

search-response->seq

(search-response->seq r)

shard-operation-failed-exception->map

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

suggest-response->seq

(suggest-response->seq r)

terms-bucket->map

(terms-bucket->map b)

update-response->map

(update-response->map r)

VersionTypeConversion

protocol

members

to-version-type

(to-version-type input)
Picks a content type for given input

XContentTypeConversion

protocol

members

to-content-type

(to-content-type input)
Picks a content type for given input