The Spotlight seem to talk exclusively about talk about searching metadata. But what about the data itself? When I use Spotlight, it finds references within the content of documents not just their metadata.

When writing an importer, what metadata field is used to return the document content or how does Spotlight search and/or index it? Is it kMDItemTextContent? Is there a size limit on how large the string value can or should be?

In my case I have a potentially large relational database of remote filenames. I'd like the user to be able to search for the filenames contained within the database using Spotlight. It is reasonable and proper for me to generate a giant string of all filenames as a value for kMDItemTextContent? Is there some other way I should go about doing this?

Thanks
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to