Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top