Query | Example | Notes |
---|
single term | document | Searches for messages that contain "document" term in any field |
phrase | "important document" | Searches for messages that contain the phrase "important document" in any field |
searching fields | subject:document | Searches for messages that contain "document" term in the subject field |
wildcard search | doc?ment | Single character wildcard search. It will match "document" and "dociment", but not "docooment" |
| document* | Multi-character wildcard search. It will match "document" and "documentation" |
fuzzy search | document~ | Search based on similar spelling |
| document~0.9 | Search based on similar spelling, with 0.9 similarity (0.5 is the default) |
proximity search | "important document"~5 | Finds words of a phrase that are not next to each other. Maximum distance in this example is 5 words |
range search | date:{20050501 TO 20050531} | Searches for messages posted between 1st May 2005 and 31st May 2005 (exclusive) |
| date:[20050501 TO 20050531] | Searches for messages posted between 1st May 2005 and 31st May 2005 (inclusive) |
relevance | important^4 document | Set boost factor of the term "important" to 4. Default boost factor is 1 |
| "important document"^4 "search engine" | You can set boost factor for phrases too |
OR operator | important document | "OR" is the default operator |
| important OR document | The message must contain either "important" or "document" |
AND operator | important AND document | The message must contain both words |
+ operator | important +document | The message must contain "document" and may contain "important" |
NOT/- operator | -important document | The message must contain "document" but not "important" |
grouping | (important OR office) AND document | Use parentheses for expression grouping |
| from:(Einstein OR Newton) | Parentheses work with fields as well |