class Elasticsearch::DSL::Search::Queries::Boosting

A query which will decrease the score of documents matching the `negative` query

@example

search do
  query do
    boosting do
      positive terms: { amenities: ['wifi', 'pets'] }
      negative terms: { amenities: ['pool'] }
      negative_boost 0.5
    end
  end
end

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