문제

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