• 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
Sandbox, CoreData, Spotlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sandbox, CoreData, Spotlight


  • Subject: Sandbox, CoreData, Spotlight
  • From: Gerd Knops <email@hidden>
  • Date: Wed, 07 Mar 2012 13:05:45 -0600

My sandboxed app with spotlight importer and using core data uses Record-Level Indexing as described here:

	https://developer.apple.com/library/mac/#documentation/cocoa/Conceptual/SpotlightCoreData/Articles/recordLevel.html#//apple_ref/doc/uid/TP40008065-CH101-SW2

The importer does work, and a command line

	mdfind "some search string"

lists records containing the string.

However the spotlight search from the UI (Spotlight icon at the top right of the screen) or in Finder does not list any records.

If I copy some records from the sandbox to somewhere else on the disk, both UI and Finder will show them fine.

Is there a trick to having Spotlight from the UI showing the records contained in the sandbox? Clearly they are being scanned (mdfind works), but they are excluded from UI based searches for some reason.

Or is that yet another Sandbox bug?

Thanks

Gerd




_______________________________________________

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: Finding object array index when iterating through array
  • Next by Date: NSOpenPanel may not respond to setDirectoryURL?
  • Previous by thread: Re: Problem with refreshing NSMenuItems
  • Next by thread: NSOpenPanel may not respond to setDirectoryURL?
  • Index(es):
    • Date
    • Thread