Can I set up synonyms for a search term?
For example, I have some documents with "cobalamin" in the name but other documents use "B12" and yet others use "B-12".
I would like to enter a single search term to find documents with any of those terms. Is this possible?
Can I set up a synonym for a search term?
-
therube
- Posts: 5727
- Joined: Thu Sep 03, 2009 6:48 pm
Re: Can I set up a synonym for a search term?
Search | Organize Filters... -> New... -> Name: mynewsearch, Search: cabalamin|b-12|b12, Macro: CB
Then you can search for CB:
Then you can search for CB:
-
burgundy
- Posts: 290
- Joined: Fri Oct 16, 2009 9:50 am
Re: Can I set up a synonym for a search term?
That works well. Thank you. I imagine there's enough room in that list for a few dozen synonyms.therube wrote: Wed Jun 12, 2019 2:54 pm Search | Organize Filters... -> New... -> Name: mynewsearch, Search: cabalamin|b-12|b12, Macro: CB
Then you can search for CB:
However I feel such synonyms don't really belong in the filter list and their definitions should be shown elsewhere.
-
burgundy
- Posts: 290
- Joined: Fri Oct 16, 2009 9:50 am
Re: Can I set up a synonym for a search term?
I've just realised this works only for file names. Not for folder names.therube wrote: Wed Jun 12, 2019 2:54 pm Search | Organize Filters... -> New... -> Name: mynewsearch, Search: cabalamin|b-12|b12, Macro: CB
Then you can search for CB:
(1) If you have set "Search > Match Path", then searching for "B12" will also find files which do NOT have "B12" in their name but which have "B12" in their path name.
(2) However replacing "B12" with "B12:" (while keeping "Match Path" on) will not find those entries.
So this method does not produce true synonyms.
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: Can I set up a synonym for a search term?
If you make it a bookmark instead of a filter like this:
That should not be an issue (not tested).
Note:
Be aware that macro-names are case sensitive. In this case b12: will produce results, whereas B12: probably does not.
That should not be an issue (not tested).
Note:
Be aware that macro-names are case sensitive. In this case b12: will produce results, whereas B12: probably does not.
You do not have the required permissions to view the files attached to this post.