• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MDQuery number of criteria limitation ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >MDQuery number of criteria limitation ? (From: Aurélien Hugelé <email@hidden>)
 >Re: MDQuery number of criteria limitation ? (From: Nicko van Someren <email@hidden>)

  • Prev by Date: I want NSTextView to grow horizontally as text is entered
  • Next by Date: forwarding KVO from NSDocument to model
  • Previous by thread: Re: MDQuery number of criteria limitation ?
  • Next by thread: How to let NSTokenField know objectValue has changed state (but not identity)?
  • Index(es):
    • Date
    • Thread