Class: ElasticsearchQuery::FilterFormatter::Match

Inherits:
Base
  • Object
show all
Defined in:
lib/elasticsearch_query/filter_formatter/match.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from ElasticsearchQuery::FilterFormatter::Base

Instance Method Details

#to_hashObject



4
5
6
# File 'lib/elasticsearch_query/filter_formatter/match.rb', line 4

def to_hash
  { match: { @name => value } }
end