I have an sqlite database in my iPhone app that I access via the Core Data framework. I\'m using NSPredicates to query the database.
I am building a search function
If what you want is essentially full text indexing of your sqlite db, then you may want to use sqlite's ft3 module, since that's exactly what it provides: http://www.sqlite.org/cvstrac/wiki?p=FtsUsage http://dotnetperls.com/sqlite-fts3