You can use quotation marks to control the search logic used by SmartDocs when you execute a search for a reusable snippet in the SmartDocs task pane. If you enclose multiple search terms in quotation marks, then SmartDocs will only match snippets where the snippet name or metadata contains the entire search phrase.
For example, if your snippet library contained the following snippets:
- Company Overview - Full
- Company Overview - Short
- Company Ethics - Overview
- Company Ethics - Code of Conduct
- Company Ethics - Report a Concern
- Company Executive Management - Overview
- Company Executive Management - Biographies
If you execute the following search from the SmartDocs task pane:
company overview (note the lack of quotation marks)
SmartDocs will match all snippets where the snippet name or snippet metadata contains the string company and the string overview. This search will return the following snippets:
- Company Overview - Full
- Company Overview - Short
- Company Ethics - Overview
- Company Executive Management - Overview
If you execute the same search from the SmartDocs task pane using quotation marks:
"company overview"
SmartDocs will match all snippets where the snippet name or snippet metadata contains the string company overview. This search will return the following snippets:
- Company Overview - Full
- Company Overview - Short
You can also execute searches using a combination of quoted and unquoted search terms, for example:
proposal "company overview"
SmartDocs will match all snippets where the snippet name or snippet metadata contains the string proposal and the string company overview. This search will not return any snippets, because in our snippet examples above there are no snippets that have proposal as metadata.
Comments