Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight w/ HFS Extended Attributes




On May 4, 2005, at 12:07 AM, Lee Morgan wrote:

Sorry this is more Spotlight related than Cocoa, but seeing that there's no Spotlight mailing list, and my app is Cocoa based - I guess this is the closest I get.

file a bug (and send me the number) or mail DTS and express your interest in a Spotlight mailing list. Please..


I realize that the new HFS Extended Attributes are not exposed to the higher level API's yet, and also that Spotlight doesn't extract their contents during indexing. However I'm working on a application that would greatly benefit from Spotlight indexing this information. Is it possible to write a Spotlight importer that handles every file with out it interfering with other plug-ins? So that I can extract the extended attributes and add it to the Spotlight store.

No, this isn't currently possible to my knowledge.


If not, any recommendation on an alternative solution? I need to store user specified meta data with any given file. I've considered using the extended attributes and just creating my own index of them, however this means during a search that I would have to perform two searches - one for Spotlight and then from those results form another for my own extended attributes (or vise-versa, which would probably be faster come to think of it).

Solved your own problem.. excellent! :-)


--
"William Cheeseman ... is said not to be a doofus in real life." - Roger Ebert, Chicago Sun-Times Online


Scott Anguish
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Spotlight w/ HFS Extended Attributes (From: Lee Morgan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.