Spotlight query operator NOT
Spotlight query operator NOT
- Subject: Spotlight query operator NOT
- From: Pierre Bernard <email@hidden>
- Date: Mon, 1 May 2006 22:48:40 +0200
Oddly enough the 2 Spotlight queries below match the very same files:
(( (kMDItemTextContent like[cdw] 'raja*')) && ( (kMDItemTextContent
like[cdw] 'houdah*')))
(( (kMDItemTextContent like[cdw] 'raja*')) && !
( ( (kMDItemTextContent like[cdw] 'houdah*')) ))
It's like the NOT operator is ignored. This is the same if I write
the query like this:
( (kMDItemTextContent like[cdw] 'raja*')) AND (NOT
( ( (kMDItemTextContent like[cdw] 'houdah*')) )))
What gives?
Pierre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden