class Elasticsearch::DSL::Search::Queries::Match

A simple to use, yet sophisticated query which returns documents matching the specified terms, taking into account field types, analyzers, etc. and allowing to search in phrase, prefix, fuzzy modes

@example

search do
  query do
    match :content do
      query    'how to fix my printer'
      operator 'and'
    end
  end
end

@see www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html