Module: Eson::Shared::DeleteByQuery
- Extended by:
- API
- Defined in:
- lib/eson/shared/core/delete_by_query.rb
Overview
TODO: check the parameter list The request supports the following parameters: timeout, types, routing, query, from, size, search_type, sort, track_scores, highlight, fields, script_fields, preference, facets, filter, scroll, scroll_id, indices_boost, explain, version, min_score, q, df, analyzer
The request declares the following parameters as source parameters: query
The request can operate on multiple indices.
Requests using this API have the following properties:
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>
TODO: check the parameter list The request supports the following parameters: timeout, types, routing, query, from, size, search_type, sort, track_scores, highlight, fields, script_fields, preference, facets, filter, scroll, scroll_id, indices_boost, explain, version, min_score, q, df, analyzer.
-
#source_param ⇒ Array<String>
The request declares the following parameters as source parameters: query.
- #types ⇒ Object
Methods included from API
Methods included from Chainable
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
12 13 14 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 12 def type @type end |
Instance Method Details
#multi_index ⇒ true
The request can operate on multiple indices.
15 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 15 multi_index true |
#parameters ⇒ Array<String>
TODO: check the parameter list The request supports the following parameters: timeout, types, routing, query, from, size, search_type, sort, track_scores, highlight, fields, script_fields, preference, facets, filter, scroll, scroll_id, indices_boost, explain, version, min_score, q, df, analyzer
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 22 parameters :timeout, :types, :routing, :query, :from, :size, :search_type, :sort, :track_scores, :highlight, :fields, :script_fields, :preference, :facets, :filter, :scroll, :scroll_id, :indices_boost, :explain, :version, :min_score, :q, :df, :analyzer |
#source_param ⇒ Array<String>
The request declares the following parameters as source parameters: query
18 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 18 source_param :query |
#types ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/eson/shared/core/delete_by_query.rb', line 47 def types if @types Array(@types) elsif type Array(type) else [] end end |