class OpenSearch::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 opensearch.org/guide/en/opensearch/reference/current/query-dsl-boosting-query.html