Page 1 of 1
Help with QuickSearch age param
Posted: 24 Dec 2022 06:30
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?
Re: Help with QuickSearch age param
Posted: 24 Dec 2022 09:50
by admin
Running this is a good start to detect syntax issues in a search term:
Re: Help with QuickSearch age param
Posted: 24 Dec 2022 10:50
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
Re: Help with QuickSearch age param
Posted: 24 Dec 2022 11:37
by admin
Interesting case! I confirm the bug and to me it looks like this NEVER worked.

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.

Re: Help with QuickSearch age param
Posted: 24 Dec 2022 14:12
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.
Re: Help with QuickSearch age param
Posted: 24 Dec 2022 14:15
by admin
Already there since 2022-12-24 11:46:
viewtopic.php?p=205893#p205893
Re: Help with QuickSearch age param
Posted: 24 Dec 2022 14:18
by jaywalker32
So fast! Ok, tested and confirmed it working now.
Thanks again!