是SQLite FTS3仍然是最好的方式去推出你的全文搜索? [英] Is SQLite FTS3 still the best way to go for rolling out your full text search?
问题描述
我需要支持全文搜索一个10 mb的文档,并想知道我是否应该实现FTS与CoreData或Sqlite3。我熟悉CoreData,不太喜欢Sqlite3。任何有经验的人都能启发我?我还有什么其他选择?非常感谢!
I need to support full text search for a 10 mb document and wondering if I should implement FTS with CoreData or Sqlite3. I am familiar with CoreData and not too fond of Sqlite3. Anyone with experience care to enlighten me? What other options do i have? Thanks!
推荐答案
它会更快,无论如何,让你的应用程序/测试。在iOS设备上,Core Data将使用sqlite数据库。我使用Core Data并且没有任何特殊编码的应用程序内数据库3-4M字节,我得到了很好的结果。
It'll be pretty hard to better Core Data by doing it by hand, so try Core Data first; it will be quicker anyway to get your app / tests going. On an iOS device Core Data will use a sqlite database anyway. I've got good results with an in-app database of 3-4Mbytes using Core Data, and without any special coding.
这篇关于是SQLite FTS3仍然是最好的方式去推出你的全文搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!