Love and Hate Query

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

When using these operators, stop words do not apply.


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

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

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.