Module: Eson::Shared::GetMapping
- Extended by:
- API
- Defined in:
- lib/eson/shared/indices/get_mapping.rb
Overview
Requests using this API have the following properties:
The request supports the following parameters: types The request can operate on multiple indices.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#multi_index ⇒ true
The request can operate on multiple indices.
-
#parameters ⇒ Array<String>
The request supports the following parameters: types.
- #types ⇒ Object
Methods included from API
multi_types, no_indices, source_param
Methods included from Chainable
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
12 13 14 |
# File 'lib/eson/shared/indices/get_mapping.rb', line 12 def type @type end |
Instance Method Details
#multi_index ⇒ true
The request can operate on multiple indices.
17 |
# File 'lib/eson/shared/indices/get_mapping.rb', line 17 multi_index true |
#parameters ⇒ Array<String>
The request supports the following parameters: types
14 |
# File 'lib/eson/shared/indices/get_mapping.rb', line 14 parameters :types |
#types ⇒ Object
19 20 21 |
# File 'lib/eson/shared/indices/get_mapping.rb', line 19 def types @types || Array(@type) end |