Change of result when using brackets in a bookmark

Discussion related to "Everything" 1.5 Alpha.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Change of result when using brackets in a bookmark

Post by burgundy »

I have a bookmark which searches for:
csf OR cerebrospinal
and which has a macro called CSF defined. I use the bookmark by keying CSF: in the search bar.

----------

When I change the search field in this bookmark to make it search for:
(csf OR cerebrospinal)
then I find this results in very few hits when I key in the macro CSF:

-----------

Surely those two searches are logically equivalent and should give the same result? Can anyone explain why the two results are so different?
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Change of result when using brackets in a bookmark

Post by NotNull »

burgundy wrote: Tue Apr 30, 2024 5:12 pm Surely those two searches are logically equivalent
Will depend on your Everything version (and a configuration setting).

What version of Everything?
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Change of result when using brackets in a bookmark

Post by void »

What is your exact bookmark search?

Please try the following bookmark search:

< csf | cerebrospinal >



Please make sure regular expressions is unchecked under the Search menu.
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: Change of result when using brackets in a bookmark

Post by burgundy »

I am using Everything 1.5.0.1373a (x86).

The bookmark is exactly as follows and I get the wrong result.
(csf OR cerebrospinal)
The above result does not match:
csf OR cerebrospinal
Your suggestion to use the following works correctly:
<csf OR cerebrospinal>
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Change of result when using brackets in a bookmark

Post by NotNull »

Moved to the Everything 1.5 alpha forum.
Please post 1.5 alpha related questions there as answers for 1.5 questions differ greatly from 1.4 answers


Round brackets for grouping are no longer supported in Everything 1.5.

See discussion here
Post Reply