OK, I'm sure on Mountain Lion we'll be forced to use Gatekeeper and pay Apple
an extra $1,000,000 to search for files on a HFS drive, but... =)
What is the IN THING - the proper way, to be admitted to the country club - to
search for files on a hard drive these days? My gut tells me that I'd like to
use FSCatalogSearch, it's not deprecated, it's a actual Apple API, whereas the
thing that turns me off about Spotlight is that it's an indexed thing as part
of the OS, whereas an HFS drive by definition and design HAS it's own indexing
and database (if you can call it that). Spotlight also seems to be optional or
user-driven, not always completely under the hood updated instantly like the
HFS drive itself has to be. Am I right, wrong, deluded?
CatSearches (talking about the new kind FSCatalogSearch, not PBCatSearch) were
always sported to be extremely fast (not just fast - extremely fast), though I
never got the results others did - like on a 1TB drive, maybe 60% full, it
takes 20-25 seconds to find a file, whereas the reports I heard were under 5
seconds. But I still like it.
(I'm actually doing this in XCode, so perhaps I'm slightly OT)
But what is the enlightened way to do this? I mean, the one that Apple won't
slash in the middle of the night (re: future OS)? Is FSCatalogSearch still a
wonderful thing?
Garth Hjelte
Sampler User
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|