Page 1 of 1

QNS has been changed?

Posted: 20 Apr 2014 02:46
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?

Re: QNS has been changed?

Posted: 23 Apr 2014 11:52
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

Re: QNS has been changed?

Posted: 23 Apr 2014 18:00
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")

Re: QNS has been changed?

Posted: 27 Apr 2014 10:37
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.