sqlite Indexing Performance Advice

后端 未结 4 1035
广开言路
广开言路 2020-12-10 09:32

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

4条回答
  •  忘掉有多难
    2020-12-10 09:50

    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

提交回复
热议问题