Module: Eson::Shared::Index
- Extended by:
- API
- Defined in:
- lib/eson/shared/core/index.rb
Overview
Requests using this API have the following properties:
The request supports the following parameters: type, id, doc, version, op_type, routing, parent, percolate, replication, consistency, refresh, timeout, ttl, timestamp The request declares the following parameters as source parameters: doc The request does not operate on multiple indices.
Instance Method Summary collapse
- #item=(item) ⇒ Object
-
#multi_index ⇒ false
The request does not operate on multiple indices.
-
#parameters ⇒ Array<String>
The request supports the following parameters: type, id, doc, version, op_type, routing, parent, percolate, replication, consistency, refresh, timeout, ttl, timestamp.
-
#source_param ⇒ Array<String>
The request declares the following parameters as source parameters: doc.
Methods included from API
Methods included from Chainable
Instance Method Details
#item=(item) ⇒ Object
38 39 40 41 |
# File 'lib/eson/shared/core/index.rb', line 38 def item=(item) warn("item= is deprecated and replaced by doc=") self.doc = item end |
#multi_index ⇒ false
The request does not operate on multiple indices.
13 |
# File 'lib/eson/shared/core/index.rb', line 13 multi_index false |
#parameters ⇒ Array<String>
The request supports the following parameters: type, id, doc, version, op_type, routing, parent, percolate, replication, consistency, refresh, timeout, ttl, timestamp
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/eson/shared/core/index.rb', line 19 parameters( :type, :id, :doc, :version, :op_type, :routing, :parent, :percolate, :replication, :consistency, :refresh, :timeout, :ttl, :timestamp ) |
#source_param ⇒ Array<String>
The request declares the following parameters as source parameters: doc
16 |
# File 'lib/eson/shared/core/index.rb', line 16 source_param :doc |