Sandbox, CoreData, Spotlight
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