QNS has been changed?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

QNS has been changed?

Post by binocular222 »

This QNS

Code: Select all

Computer?:lbl:somelabel AND tags:sometag
used to search tag.dat database only, thus very fast (a few ms).
Now, it search all files in computer, one-by-one, thus take ages.
Strangely, if I shorten the search term to

Code: Select all

Computer?:lbl:somelabel
, then XY search tag.dat database only.

Is this intentional? how can I make XY search tag.dat only?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: QNS has been changed?

Post by LittleBiG »

binocular222 wrote:how can I make XY search tag.dat only?
This is from the help:
Search only among Tagged Items

Append the switch /t to the search term to confine the search to all items present in the tags database (tag.dat). Examples (ready for pasting into the Address Bar):

List all items (excluding any orphans) in the database:
*?* /t
List all TXT items in the database:
*?*.txt /t
List all tagged items in the current location with no comment:
?cmt:"" /t
List all tagged items in the current location without comment AND number 5 in ex2:
?:cmt:"" and ex2:5 /t

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: QNS has been changed?

Post by binocular222 »

thanks. This works

Code: Select all

$Search = "%computer%?:lbl:somelabel AND tags:sometag /t";
Tab("new","$Search")
This works too

Code: Select all

$Search = "Computer?:lbl:somelabel AND tags:sometag /t";
Tab("new","$Search")
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: QNS has been changed?

Post by admin »

binocular222 wrote:Is this intentional? how can I make XY search tag.dat only?
No, this is a bug, thanks! Your example should work without the /t switch. Fix comes.

Post Reply