Full-text indexing on iOS
Full-text indexing on iOS
- Subject: Full-text indexing on iOS
- From: Jens Alfke <email@hidden>
- Date: Thu, 11 Feb 2016 13:05:05 -0800
I’m looking into OS support for full-text indexing, for the database engine I work on. On Mac OS, there’s SearchKit, which does exactly what I want. iOS doesn’t have SearchKit for some reason, but it now has Core Spotlight, which lets me index data. The intended use seems to be for device-wide searching in the home screen’s search UI. Can I instead use it for my own queries?
iOS does have NSMetadataQuery, for querying Spotlight. Can I use this to search only the data I’ve indexed, without results from other apps? And conversely, is there a way to keep the data I’ve indexed from showing up in the system-wide Spotlight results?
—Jens
_______________________________________________
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