Help with QuickSearch age param

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 age param

Post by jaywalker32 »

I'm trying to do a quick search of tagged files with age less than 10 months.

This doesn't work:

Code: Select all

This PC?:(ageM: < 10 m) AND (lbl:Red OR lbl:purple) /t
But this works (for files OLDER than 10 months):

Code: Select all

This PC?:(ageM: > 10 m) AND (lbl:Red OR lbl:purple) /t
Is my syntax wrong somehow?

admin
Site Admin
Posts: 61132
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Help with QuickSearch age param

Post by admin »

Running this is a good start to detect syntax issues in a search term:

Code: Select all

text <get find_queryparsed>;

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

Re: Help with QuickSearch age param

Post by jaywalker32 »

They're getting parsed as expected (I assume the mode#12 is some internal code for ageM):
However, I don't know why "Tags DB Only: No", since I specified the /t.

Code: Select all

Query:  :(ageM: < 10 m) AND (lbl:Red OR lbl:purple) /t /?
Parsed: mode#12:  < [10 m] AND (Label: "red" OR Label: "purple")

Search: Quick Search
Mode: Boolean
SmartBooleanQueryParsing: Yes
ExtendedPatternMatching: Yes
MasterInvert: Yes
Tags DB Only: No

MatchCase: No   WholeWords: No   Invert: No
IgnoreDiacritics: No   Path: No   FindHidden: No

Search Path: This PC
Include Subfolders: Yes
Follow Junctions: No


Query:  :(ageM: > 10 m) AND (lbl:Red OR lbl:purple) /t /?
Parsed: mode#12:  > [10 m] AND (Label: "red" OR Label: "purple")

Search: Quick Search
Mode: Boolean
SmartBooleanQueryParsing: Yes
ExtendedPatternMatching: Yes
MasterInvert: Yes
Tags DB Only: No

MatchCase: No   WholeWords: No   Invert: No
IgnoreDiacritics: No   Path: No   FindHidden: No

Search Path: This PC
Include Subfolders: Yes
Follow Junctions: No

admin
Site Admin
Posts: 61132
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Help with QuickSearch age param

Post by admin »

Interesting case! I confirm the bug and to me it looks like this NEVER worked. :shock: :om: Fix comes in a minute...
jaywalker32 wrote: 24 Dec 2022 10:50 However, I don't know why "Tags DB Only: No", since I specified the /t.
Another strange thing because this WORKS here. :?

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

Re: Help with QuickSearch age param

Post by jaywalker32 »

The "Tags DB Only" thing might be just a query parser display bug, since it is definitely searching the tags db only even if it says "No".

Thanks. I shall await the update.

admin
Site Admin
Posts: 61132
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Help with QuickSearch age param

Post by admin »

Already there since 2022-12-24 11:46:
viewtopic.php?p=205893#p205893

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

Re: Help with QuickSearch age param

Post by jaywalker32 »

So fast! Ok, tested and confirmed it working now.

Thanks again!

Post Reply