Help with quicksearch script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Help with quicksearch script

Post by jaywalker32 »

I'm having problems with the quicksearch command which started sometime after the "smart boolean" update:

This code no longer returns files with "Project" in the name, with label "Green"
It takes about 10 seconds and returns an empty result

Code: Select all

text quicksearch("Project AND (lbl:Green)","This PC");
This one works, almost instantly (without the brackets):

Code: Select all

text quicksearch("Project AND lbl:Green","This PC");
I want to use the parentheses in the script because sometimes I want to include multiple labels like (lbl:Red OR lbl:Green)

Is there a new/correct way to write this search?

jupe
Posts: 2758
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help with quicksearch script

Post by jupe »

adding a colon prefix should work. eg.

Code: Select all

text quicksearch(":Project AND (lbl:Green)","This PC");

jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Re: Help with quicksearch script

Post by jaywalker32 »

Ah yes, that seems to work. Thanks.

Post Reply