Can I set up a synonym for a search term?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 106
Joined: Fri Oct 16, 2009 9:50 am

Can I set up a synonym for a search term?

Post by burgundy » Wed Jun 12, 2019 1:38 pm

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?

therube
Posts: 2266
Joined: Thu Sep 03, 2009 6:48 pm

Re: Can I set up a synonym for a search term?

Post by therube » 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:

burgundy
Posts: 106
Joined: Fri Oct 16, 2009 9:50 am

Re: Can I set up a synonym for a search term?

Post by burgundy » Thu Jun 13, 2019 11:22 am

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:
That works well. Thank you. I imagine there's enough room in that list for a few dozen synonyms.

However I feel such synonyms don't really belong in the filter list and their definitions should be shown elsewhere.

burgundy
Posts: 106
Joined: Fri Oct 16, 2009 9:50 am

Re: Can I set up a synonym for a search term?

Post by burgundy » Tue Jun 18, 2019 3:45 pm

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:
I've just realised this works only for file names. Not for folder names.

(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: 1284
Joined: Wed May 24, 2017 9:22 pm

Re: Can I set up a synonym for a search term?

Post by NotNull » Tue Jun 18, 2019 7:24 pm

If you make it a bookmark instead of a filter like this:

2019-06-18 21_19_21-Edit Bookmark.png

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.

Post Reply