• 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: Search options
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search options


  • Subject: Re: Search options
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 31 Jul 2013 13:29:34 -0500

On Jul 31, 2013, at 11:52 AM, Jerry Krinock wrote:

> 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 haven't worked with it, but I think that the searchfs() system call is what underlies those routines at the BSD/POSIX layer.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/searchfs.2.html

Regards,
Ken


_______________________________________________

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


  • Follow-Ups:
    • Re: Search options
      • From: Jerry Krinock <email@hidden>
References: 
 >Search options (From: email@hidden)
 >Re: Search options (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Initializing a NSMutableString an odd way
  • Next by Date: Re: Initializing a NSMutableString an odd way
  • Previous by thread: Re: Search options
  • Next by thread: Re: Search options
  • Index(es):
    • Date
    • Thread