Help for Enterprise Vault Search
- Getting started with Enterprise Vault Search
- Searching for archived items
- Working with search results
- Customizing Enterprise Vault Search
Boolean operators that you can use in a simple search
Table: Boolean operators for use in simple searches describes the operators with which you can refine your searches by creating a relationship between multiple search terms. Type the operators in uppercase letters.
Table: Boolean operators for use in simple searches
Operator | Match criteria | Examples |
---|---|---|
Items that contain both of the specified terms. The two terms do not need to be in the same part of the item. For example, one can be in the top-level item and the other can be in an attachment. | sales AND report Matches items in which both of the words sales and report appear. | |
Items in which the first specified term appears within a maximum of 10 words before the second term. Optionally, you can specify a maximum number of words between the two terms. | John BEFORE Smith Matches items in which John appears within 10 words before the word Smith. It does not match Sue Smith met John. John BEFORE/1 Smith Matches items that contain John Smith or John B. Smith. It does not match items that contain John has met Smith or Sue Smith met John. | |
Items in which the first specified term appears within 10 words of the second term. Optionally, you can specify a maximum number of words between the two terms. | John NEAR Smith Matches items in which John appears within 10 words of Smith. John NEAR/1 Smith Matches items in which John appears within one word of Smith, as in John Smith, John B. Smith, or Smith sued John. It does not match items that contain John has met Smith or Sue Smith asked for John. | |
Items that do not contain the specified term. You cannot use this operator with either term in a BEFORE query or NEAR query. See the examples at the right. | NOT report, or -report Matches items that do not contain the word report. stock NOT price, or stock -price Matches items that contain the word stock but do not contain the word price. The following query is invalid because you cannot use the NOT operator with either term in a BEFORE query or NEAR query: hello NEAR (NOT world) To conduct a valid search for the word hello, but not hello when it is within a few words of world, construct the query as follows: hello AND NOT (hello NEAR world) | |
Items in which the first specified term appears outside the context that you define with the second term. | confidential NOTWITHIN "Disclaimer: This email and any files transmitted with it are confidential" Matches items that contain the word confidential outside the context of the disclaimer. | |
Items that contain one or both of the specified terms. The two terms do not need to be in the same part of the item. For example, one can be in the top-level item and the other can be in an attachment. | sales OR report Matches items that contain either or both of the words sales and report. |
When a search query contains multiple operators, you can use parentheses to ensure that it performs as you intend. In effect, Enterprise Vault Search processes the query within the parentheses before it processes the rest of the query. Consider the following example:
(stock OR share) AND price
This query matches items that contain either of the words stock and share and that also contain the word price. In contrast, the following search query matches items that either contain both of the words share and price or that contain the word stock.
stock OR (share AND price)
The following query matches items that have bill as author and that contain either any word starting with stock or any six-character word starting with share:
from:bill AND (stock* OR share?)
When a search query contains multiple operators, parentheses, and phrases in quotation marks, Enterprise Vault Search processes them in the following order:
"
()
NOTWITHIN
NOT
BEFORE
NEAR
OR
AND
For example, consider the following query:
stock AND price NEAR/2 bill OR bob
Enterprise Vault Search interprets the query as follows:
stock AND (price NEAR/2 (bill OR bob))
This query matches items that contain the word stock and that also contain the word price within two words of the word bill or bob.