Module: Eson::Shared::Delete

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

Overview

Requests using this API have the following properties:

The request supports the following parameters: type, id, item, version, op_type, routing, parent, percolate, replication, consistency, refresh, timeout The request declares the following parameters as source parameters: item 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/delete.rb', line 13

multi_index false

#parametersArray<String>

The request supports the following parameters: type, id, item, version, op_type, routing, parent, percolate, replication, consistency, refresh, timeout

Returns:

  • (Array<String>)

    The parameters



19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/eson/shared/core/delete.rb', line 19

parameters(
  :type, 
  :id,
  :item,
  :version,
  :op_type,
  :routing,
  :parent,
  :percolate,
  :replication,
  :consistency,
  :refresh,
  :timeout
)

#source_paramArray<String>

The request declares the following parameters as source parameters: item

Returns:

  • (Array<String>)

    The source parameters



16
# File 'lib/eson/shared/core/delete.rb', line 16

source_param :item