• 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: Mon, 28 Sep 2009 12:48:15 -0400

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 (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: Re: Looking for Sample code: WWDC2007 - Session 201 - Building Animated Cocoa User Interfaces
  • Next by Date: Re: Animating "contents" property of CALayer via the delegate
  • Previous by thread: Why is scrollbar enabled?
  • Next by thread: Quartz Composer API Questions (and comments)
  • Index(es):
    • Date
    • Thread