We are trying to scope out a project that has a relatively sophisticated search function. For instance it needs to search variations of words -- with "legal" and "legally" treated the same.

I believe the SQLite full-text extensions (FTS3, FTS4) will do everything we need, but I don't know if that's an option. Has anyone successfully used SQLite with FTS3 or FTS4 in a PhoneGap application?

If not, does anyone know of any robust alternatives that will work in PhoneGap?

有帮助吗?

解决方案

The default sqlite build in iOS does not support FTS. You have compile your own version with support for FTS3/FTS4 and include it in your project. Then, in PhoneGap, use an SQLite plugin and you have a SQLite DB with FTS.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top