Boolean Operators

Boolean operators allow terms to be combined through logic operators. You can search using AND, OR, and NOT as Boolean operators.

Important

Operators must be in uppercase like AND, OR, and NOT. If the query is submitted with the operators in lowercase like and, or, or not, the operators are treated as a search string and not search operators.

  • The OR operator links two terms and finds a matching document if either of the terms exist in a document.

    For example: To search for documents that contain either "financial calendar" or just "data", you can search using the keyword "financial calendar" OR data.

  • The AND operator is a default connective operator. It means that if there is no Boolean operator between two terms, the AND operator is used. The AND operator matches documents where both terms exist anywhere in the single document.

    For example: To search for documents that contain both "financial calendar" and "financial data", you can search using the keyword "financial calendar" AND "financial data".

  • The NOT operator excludes documents that contain the term after operator NOT.

    For example: To search for documents that contain "financial calendar" but not "financial data", you can search using the keyword "financial calendar" NOT "financial data".

  • If none of the terms in a query have explicit operators, the AND operator is used.

    User Input

    Query Interpreted As

    Financial Calendar

    Financial AND Calendar

    John Doe's Address

    John AND Doe's AND Address

Loading...