Boolean and Proximity Searches
Boolean and proximity operators have the following precedence:
Highest: NOT NEAR; DNEAR; XNEAR; YNEAR AND; BEFORE; AFTER; WHEN; SENTENCE; DSENTENCE; PARAGRAPH Lowest: OR; WNEAR; EOR
Operators that have the same level of precedence have neither left or right associativity. You can use brackets to bind terms together as appropriate. Proximity operators must have terms on either side, and cannot be adjacent to brackets.