Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Full-text search

Is any full-text search api in SDK? Or, maybe somebody can advise me library for full-text search (something like Lucene)?

Thank you.

MacBook Pro, Mac OS X (10.5.7)

Posted on Jul 23, 2009 11:05 AM

Reply
8 replies

Jul 31, 2009 11:50 AM in response to pKiR

Spotlight works hand-in-hand with built-in metadata functionality (mdimport, as an example, under OS X). Whenever a file is written to disk, a special program is run that reads the file, adds metadata about it to the file system, and updates a special "index". When you start typing in Spotlight menu, Spotlight searches this index. On the iPhone, this means searching across the index (filtering out mismatches) that represents installed apps, as an example, but not going down into app contents and/or documents that exist as part of those apps individually.

Simply put, as currently relates to the iPhone OS, I believe you'll only find the functionality you seem to want by server-side indexing and searching (match/like/etc).

Full-text search

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.