Page 1 of 1

QNS switch /T

Posted: 18 Mar 2015 18:24
by binocular222

Code: Select all

	"Disk clone" /T  //work
	Disk clone /T    //not work
	Disk clo /T      //not work
1)Why quote is required?
2) I feel quote is unnecessary
3) Partial match is not applied? That should be!

Re: QNS switch /T

Posted: 18 Mar 2015 18:48
by TheQwerty
1 & 2) You're being bit by the loose boolean functionality.
help 'idh_findfilesbytags'; wrote:
Name Pattern              Find all items with
---------------------------------------------------------------
tags:cats                     tag "cats"
tags:cats;dogs             tag "cats" OR "dogs"  (loose Boolean syntax)
tags:cats dogs             tag "cats" AND "dogs" (same)
tags:"cats dogs"           tag "cats dogs"
tags:"cats dogs";ants   tag "cats dogs" OR "ants"
The first one finds items with the tag "Disk clone".
The second one finds items with the tags "Disk" or "clone" (and similarly the third uses "clo").

So currently the quotes are necessary.

3) Currently I don't believe there is any auto-wildcards being applied to tags. Personally, I don't have much of an opinion on this either.