Re: Search options
Re: Search options
- Subject: Re: Search options
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 31 Jul 2013 20:28:35 +0200
Le 31 juil. 2013 à 18:52, Jerry Krinock <email@hidden> a écrit :
>
> On 2013 Jul 31, at 08:45, email@hidden wrote:
>
>> what are the recommended search facilities for searching for things not indexed by Spotlight? Or am I limited to task wrappers or NSFileManager directory enumerations? Clearly that could take a lot of time and resources to search that way.
>
> Several years ago I looked into this and concluded that the fastest, *reliable* file search on Mac OS X was still the ancient PBCatalogSearchSync() or PBCatalogSearchAsync(). Does anyone know a more modern API which can beat these?
I don't know about modern API, but I know about low level way to query the FS: searchfs(3)
I think you can achieve performances equivalent to what you get using PBCatalogSearchSync using this function.
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden