Class: ElasticsearchDslBuilder::DSL::Search::Queries::MatchAll
- Defined in:
- lib/elasticsearch_dsl_builder/dsl/search/queries/match_all.rb
Instance Attribute Summary
Attributes inherited from Query
Instance Method Summary collapse
-
#initialize ⇒ MatchAll
constructor
A new instance of MatchAll.
- #to_hash ⇒ Object
Constructor Details
#initialize ⇒ MatchAll
Returns a new instance of MatchAll.
6 7 8 9 |
# File 'lib/elasticsearch_dsl_builder/dsl/search/queries/match_all.rb', line 6 def initialize @type = :match_all super() end |
Instance Method Details
#to_hash ⇒ Object
11 12 13 14 |
# File 'lib/elasticsearch_dsl_builder/dsl/search/queries/match_all.rb', line 11 def to_hash @query = {} super end |