• 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
Spotlight index all data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spotlight index all data?


  • Subject: Spotlight index all data?
  • From: David Melgar <email@hidden>
  • Date: Sat, 26 Sep 2009 23:26:31 -0400

I confess to being a little confused about Spotlight. The docs 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 (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


  • Prev by Date: Frameworks in red
  • Next by Date: Re: Creating a radar sweep effect
  • Previous by thread: Re: Frameworks in red
  • Next by thread: Xcode3.2 build and analyze warning for NSString allocation
  • Index(es):
    • Date
    • Thread