Module: Eson::Shared::Get

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

Overview

Requests using this API have the following properties:

The request supports the following parameters: id, type, fields, routing, preference, refresh The request does not operate on multiple indices.

Instance Method Summary collapse

Methods included from API

multi_types, no_indices, source_param

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/get.rb', line 13

multi_index false

#parametersArray<String>

The request supports the following parameters: id, type, fields, routing, preference, refresh

Returns:

  • (Array<String>)

    The parameters



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

parameters(
  :id, 
  :type,
  :fields,
  :routing,
  :preference,
  :refresh
)