Class: ElasticsearchQuery::FilterFormatter::Match
- Defined in:
- lib/elasticsearch_query/filter_formatter/match.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ElasticsearchQuery::FilterFormatter::Base
Instance Method Details
#to_hash ⇒ Object
4 5 6 |
# File 'lib/elasticsearch_query/filter_formatter/match.rb', line 4 def to_hash { match: { @name => value } } end |