A search on the Internet for “Apple” is likely to return results about the
company, the fruit, and various recipes. We could try to narrow it down to
just the company by excluding words like pie, tart, crumble, and tree,
using a must_not clause in a bool query:

It accepts a positive query and a negative query. Only documents that
match the positive query will be included in the results list, but documents
that also match the negative query will be downgraded by multiplying the
original _score of the document with the negative_boost.

For this to work, the negative_boost must be less than 1.0. In this
example, any documents that contain any of the negative terms will have their
_score cut in half.