Re: MDQuery number of criteria limitation ?
Re: MDQuery number of criteria limitation ?
- Subject: Re: MDQuery number of criteria limitation ?
- From: Aurélien Hugelé <email@hidden>
- Date: Wed, 11 May 2005 10:10:03 +0200
No it is not a shell limitation because the MDQueryCreate() function call fails : it returns a NULL, there is no "error", just a NULL i insist on the fact that que query string i pass to MDQueryCreate() is huge...
On 10 mai 05, at 19:05, Nicko van Someren wrote: On 10 May 2005, at 16:52, Aurélien Hugelé wrote:
i'm using MDQuery and found a limitation :
i have an HUGE request, that can be tested in the terminal :
mdfind "kMDItemContentType == 'com.apple.mail.emlx' && ((kMDItemAuthorEmailAddresses ==
...
' email@hidden'c) || (kMDItemAuthorEmailAddresses == ... but more than 100 criterias should be added to see the query failing...
Can you tell us the mode of failure? What is the error you are seeing? One problem might be that you are just hitting the command line length limit of the terminal shell.
Nicko
|
_______________________________________________
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