Class: ProxES::Request::Msearch
- Inherits:
-
Multi
- Object
- Rack::Request
- ProxES::Request
- Multi
- ProxES::Request::Msearch
- Defined in:
- lib/proxes/request/msearch.rb
Constant Summary collapse
- INDICES_REGEX =
/"(index)"\s*:\s*"(.*?)"/
Constants inherited from ProxES::Request
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Multi
#body_indices, #index=, #indices, #indices?, #parse
Methods inherited from ProxES::Request
#detail, #duration, from_env, #html?, #indices, #indices?, #initialize, #parse, path_endpoint, #user, #user_id
Constructor Details
This class inherits a constructor from ProxES::Request
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
11 12 13 |
# File 'lib/proxes/request/msearch.rb', line 11 def index @index end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/proxes/request/msearch.rb', line 11 def type @type end |
Class Method Details
.indices_regex ⇒ Object
18 19 20 |
# File 'lib/proxes/request/msearch.rb', line 18 def indices_regex INDICES_REGEX end |
Instance Method Details
#endpoint ⇒ Object
13 14 15 |
# File 'lib/proxes/request/msearch.rb', line 13 def endpoint '_msearch' end |