Love and Hate Query

The + and - operators, select documents based on the presence or absence of specified terms.

Note
When using these operators, stop words do not apply.

Example

The following matches all documents with the phrase “adventurous nature” but not ambitious; and:

SEARCH /bank/
{
  "_query": {
    "personality": "\"adventurous nature\" -ambitious"
  }
}

Caution
One thing to note is that the behaviour of the +/- operators vary depending on the default operator used and the above examples assume that the default (OR) is used.