To search for the file path of a document or folder, use the following search syntaxes:
Path search | path("path name here") |
Folder path search |
folderpath("folder name here") Databases created after February 15, 2016 can use this syntax to search for the partial folder path of a document. |
Folder search |
folder("folder name here") Databases created after February 15, 2016 can use this syntax to search for the partial folder path of a document. |
Path search
Path is stored as a case-insensitive keyword. As a result, path will always have a value of zero or one per document. In other words, when you search the path(), your content within the parentheses should be an exact or a wildcard match to the path as it was provided to DISCO (with the exception that the search is case-insensitive). Otherwise, the system will give you zero results. For example:
path("/albert_meyers_000_1_1.pst/meyers-a/ExMerge - Meyers, Albert/Sent Items/FW FW Laid-Off A No Nothing Production.msg")
will return documents with the exact path as provided above (case insensitive). Make sure to start your path with a forward slash (/).
The search
path("/albert_meyers_000_1_1.pst!”)>
(notice the wildcard (!) at the end) will return documents whose path begins with /albert_meyers_000_1_1.pst.
Folder path search
Folder is broken up into the elements of the path and those elements are stored separately. When you search for a folder, the results will include the parent folder as well as all of its child folders. For example:
folderpath("/albert_meyers.pst/ExMerge - Meyers, Albert/Sent Items/sample-contract.msg")
would be rewritten as:
folderpath("albert_meyers.pst” OR “ExMerge - Meyers, Albert” OR “Sent Items” OR “sample-contract.msg")
The results will contain documents in folders that match any of the four conditions. Folder search works with wildcards as well.
The search
folderpath("albert_meyers.pst!”)
will return documents where any of the folderpath elements (separated by “/”) start with albert_meyers.pst.
Warning
In folder searches (and only folder searches), DISCO replaces the slashes with spaces. Therefore, when using the wildcard (!), be careful to NOT place the exclamation point after a slash (/). For example:
folderpath(“/albert_meyers.pst/!“)
(notice the exclamation point after the slash) will return the ENTIRE database of documents [that is, DISCO searches folderpath("albert_meyers.pst OR !”)].
For information about how to filter your document list by file path, see Using search filters.