# 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.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm