Introduction:
On the top of every page in Mago is a search box to quickly find records. You might not be aware that the search tool itself hides some powerful features.

Any text you type into the Mago search box will come back with leads/gigs/contacts and companies that match any of the words in your query. If you want to get more specific, it's also possible to perform advanced searches using the tool.
If, for example, I wanted to find all contacts that are in Colorado, but not Colorado Springs, a search of +Colorado -Springs would return those records.
Operators
+ and - are Operators. They-among others-may be used to fine-tune the query:
AND operator +
The AND operator is a plus sign. For example, wifi+luxury will search for documents containing both wifi and luxury.
OR operator |
The OR operator is a vertical bar or pipe character. For example, wifi | luxury will search for documents containing either wifi or luxury or both.
NOT operator -
The NOT operator is a minus sign. For example, wifi –luxury will search for documents that have the wifi term and/or do not have luxury (and/or is controlled by searchMode).
Suffix operator *
The suffix operator is an asterisk. For example, lux* will search for documents that have a term that starts with lux, ignoring case.
Phrase search operator " "
The phrase operator encloses a phrase in quotation marks. For example, while Roach Motel (without quotes) would search for documents containing Roach and/or Motel anywhere in any order, "Roach Motel" (with quotes) will only match documents that contain that whole phrase together and in that order (text analysis still applies).
Precedence operator ( )
The precedence operator encloses the string in parentheses. For example, motel+(wifi | luxury) will search for documents containing the motel term and either wifi or luxury (or both).|
Guidance for using search operators
In order to use the above symbols as actual part of the search text, they should be escaped by prefixing them with a backslash. For example, luxury\+hotel will result in the term luxury+hotel. In order to make things simple for the more typical cases, there are two exceptions to this rule where escaping is not needed:
- The NOT operator - only needs to be escaped if it's the first character after whitespace, not if it's in the middle of a term. For example, wi-fi is a single term.
- The suffix operator *only needs to be escaped if it's the last character before whitespace, not if it's in the middle of a term. For example, wi*fi is treated as a single token.