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: 264
Joined: Fri Oct 16, 2009 9:50 am

Can I set up a synonym for a search term?

Post by burgundy »

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: 4580
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube »

Search | Organize Filters... -> New... -> Name: mynewsearch, Search: cabalamin|b-12|b12, Macro: CB

Then you can search for CB:
burgundy
Posts: 264
Joined: Fri Oct 16, 2009 9:50 am

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

Post by burgundy »

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: 264
Joined: Fri Oct 16, 2009 9:50 am

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

Post by burgundy »

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

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

Post by NotNull »

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

2019-06-18 21_19_21-Edit Bookmark.png
2019-06-18 21_19_21-Edit Bookmark.png (20.72 KiB) Viewed 3536 times

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.
Post Reply