We support the following modifiers through our search so that you can find what you’re looking for through quick specifications.
-Query or Not
Grouping AND and OR
We can take a more in-depth look at each to see how to use them.
1. Term - Search any word or group of words as separate items
How it works: Add any word or group of words to find them across file content and metadata.
Example: Stock purchase consulting will search for documents that have all of those terms. This type of search works like an AND search. It finds documents that have 'stock' AND 'purchase' AND 'consulting'
2. “Query” - Exact Match Search
How it works: Add quotation marks to your query to search for an exact match
Example: Searching for “limited to user information and data relating to user activities” will find all documents with that phrase in their content.
Note: It is recommended to add quotation marks to your query when searching for file names that contain special characters.
3. -Query or NOT - Does not contain query
How it works: Use a subtract modifier to exclude a term from your search.
Example: Stock purchase -payoff will search for all documents that contain 'stock' AND 'purchase' NOT 'payoff'.
Note: Manually adding ‘NOT’ will also achieve the same results and will exclude all terms listed after the modifier from your search.
4. AND - Search for terms together
How it works: Use AND to specify searching for terms together during your search. If you search for multiple terms without including AND the search will automatically default to AND .
Example: Stock AND purchase will search for all documents that contain ‘'stock' AND 'purchase'
5. OR: Search for non-exclusive terms
How it works: Use OR to specify terms that aren’t mutually exclusive
Example: Stock OR purchase will search for all documents that contain ‘'stock' OR 'purchase'
6. Grouping AND and OR
How it works: Use AND and OR with parentheses to use both functions
Example: Stock AND (performance OR purchase) will search for all documents that contain ‘'stock' AND ‘performance’ OR ‘stock’ AND 'purchase'
Note: You will see your boolean operators underlined in green . When bad query syntax is provided the text will be underlined in red .
7. Type - Specify file extension or file type
How it works: Use the type: modifier to specify a file extension or file type you’re looking for.
Example: Stock purchase type:pdf will search for all documents that contain stock and purchase that are PDFs.
8. Before - Find files before a certain date
How it works: Use the before: modifier with the following format before:MM/DD/YYYY to specify files created before that date
Example: Searching for stock purchase before:01/01/2019 will find all documents that contain the words stock and purchase that were created before January 1st, 2019.
9. After - Find files after a certain date
How it works: Use the after: modifier with the following format after:MM/DD/YYYY to specify files created after that date.
Example: Searching for stock purchase after:01/01/2019 will find all documents that contain the words 'stock' AND 'purchase' that were created after January 1st, 2019.
10. Near - Use proximity search to find words within a certain distance
How it works: Use the near: modifier with the following format near:word1,distance,word2 (no spaces) to specify a search for two words within a certain number of words
Example: Searching for near:stock,3,agreement will find all documents that contain the words stock and agreement within three words. e.g. will find stock agreement and stock purchase agreement
Note: Proximity search on Onna does not take into account the order of the words in a sentence. For example, near:credit,3,agreement and near:agreement,3,credit will return the same results as they're both looking for sentences with 'agreement' and 'credit' within three words, regardless of the order.
11. Is - search for elements that have attachments,archived, or shared
How it works: Use the “is:___” modifier in the following format “is:attachment”, “is:archived” or "is:shared".
"is:attachment" will search for elements that are attachments of other resources. This applies to email attachments or files that have been extracted from a zip.
"is:archived" : depending on the source you sync into Onna you will have the option to choose auto-sync and archive. This means Onna will perform a full sync and then archive the information collected. Once a resource has been synced into Onna even though it may be deleted at the origin (Slack, Google Drive, Confluence, etc.) it will still be stored in Onna. The is:archived modifier will search for resources that have already been deleted in the original source but still preserved in Onna.
"is:shared" : will search for documents that have been shared in the origin source. Note the modifier is currently limited to Slack Enterprise, Box Enterprise, and Dropbox Business.
Looking for more ways to filter your searches in Onna? Check out our article on using filters for search.
For searches where you can use a boolean, wild card, or search multiple terms with OR, check out our article on advanced search. Wild card searching is only supported within advanced search.