Skip navigation.
 
mlNSPredicate: To be, or not to be
FROM : Gerriet M. Denkmann
DATE : Sun Jun 01 16:17:01 2008

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 ).

So: how do I have to rephrase my NSPredicate?
And, no: <kMDItemTextContent LIKE "The slings and arrows of 
outrageous fortune"> is not the answer to my question.

10.4.11

Kind regards,

Gerriet.

Related mailsAuthorDate
mlNSPredicate: To be, or not to be Gerriet M. Denkman… Jun 1, 16:17
mlRe: NSPredicate: To be, or not to be stephen joseph but… Jun 1, 17:24
mlRe: NSPredicate: To be, or not to be Gerriet M. Denkman… Jun 2, 04:10
mlRe: NSPredicate: To be, or not to be stephen joseph but… Jun 2, 07:20
mlRe: NSPredicate: To be, or not to be Gerriet M. Denkman… Jun 2, 18:08
mlRe: NSPredicate: To be, or not to be stephen joseph but… Jun 2, 22:30
mlRe: NSPredicate: To be, or not to be Gerriet M. Denkman… Jun 3, 02:37
mlRe: NSPredicate: To be, or not to be stephen joseph but… Jun 3, 04:59
mlRe: NSPredicate: To be, or not to be Gerriet M. Denkman… Jun 3, 10:18
mlRe: NSPredicate: To be, or not to be Hamish Allan Jun 3, 10:33
mlRe: NSPredicate: To be, or not to be Gerriet M. Denkman… Jun 3, 11:23
mlRe: NSPredicate: To be, or not to be Jason Wiggins Jun 3, 16:27
mlRe: NSPredicate: To be, or not to be Hamish Allan Jun 3, 17:16