On Sun, Jun 1, 2008 at 9:17 AM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > When I use an NSMetadataQuery with the NSPredicate <kMDItemTextContent LIKE > "To be, or not to be;"> it seems to find all documents which contain these > words in any order; and as they are kind of common, it finds 23363 files. > > Not quite what I intended. > Actually I am looking for those documents which contain this string exactly > as written (e.g. Shakespeare/Plays/Hamlet/3.1.rtf ).
I believe you want "contains", not "like". _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]