Class: JayAPI::Elasticsearch::QueryBuilder::QueryClauses::MatchAll
- Inherits:
-
QueryClause
- Object
- QueryClause
- JayAPI::Elasticsearch::QueryBuilder::QueryClauses::MatchAll
- Defined in:
- lib/jay_api/elasticsearch/query_builder/query_clauses/match_all.rb
Overview
Represents a match_all
query Documentation for this type of query can be found here: www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html
Instance Method Summary collapse
-
#to_h ⇒ Hash
The Hash representation of the Query Clause (in Elasticsearch’s format).
Instance Method Details
#to_h ⇒ Hash
Returns The Hash representation of the Query Clause (in Elasticsearch’s format).
15 16 17 |
# File 'lib/jay_api/elasticsearch/query_builder/query_clauses/match_all.rb', line 15 def to_h { match_all: {} } end |