Class: JayAPI::Elasticsearch::QueryBuilder::QueryClauses::MatchNone
- Inherits:
-
QueryClause
- Object
- QueryClause
- JayAPI::Elasticsearch::QueryBuilder::QueryClauses::MatchNone
- Defined in:
- lib/jay_api/elasticsearch/query_builder/query_clauses/match_none.rb
Overview
Represents a match_none 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#query-dsl-match-none-query
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_none.rb', line 15 def to_h { match_none: {} } end |