Module: Eson::Shared::Update

Extended by:
API
Defined in:
lib/eson/shared/core/update.rb

Overview

Requests using this API have the following properties:

The request supports the following parameters: timeout, type, routing, parent, id, consistency, percolate, refresh, script, params, retry_on_conflict The request declares the following parameters as source parameters: script, params The request does not operate on multiple indices.

Instance Method Summary collapse

Methods included from API

multi_types, no_indices

Methods included from Chainable

#chainable, #extendable

Instance Method Details

#multi_indexfalse

The request does not operate on multiple indices.

Returns:

  • (false)


13
# File 'lib/eson/shared/core/update.rb', line 13

multi_index false

#parametersArray<String>

The request supports the following parameters: timeout, type, routing, parent, id, consistency, percolate, refresh, script, params, retry_on_conflict

Returns:

  • (Array<String>)

    The parameters



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/eson/shared/core/update.rb', line 16

parameters :timeout, 
:type, 
:routing,
:parent,
:id,
:consistency,
:percolate,
:refresh,
:script,
:params,
:retry_on_conflict

#source_paramArray<String>

The request declares the following parameters as source parameters: script, params

Returns:

  • (Array<String>)

    The source parameters



29
30
# File 'lib/eson/shared/core/update.rb', line 29

source_param :script,
:params