class Elasticsearch::DSL::Search::Queries::DisMax

A query which will score the documents based on the highest score of any individual specified query, not by summing the scores (as eg. a `bool` query would)

@example

search do
  query do
    dis_max do
      queries [
       { match: { title:   'albino' } },
       { match: { content: 'elephant' } }
      ]
    end
  end
end

@see www.elastic.co/guide/en/elasticsearch/guide/current/_best_fields.html