SQLite FTS4 search with special characters

孤人 提交于 2019-12-04 07:12:26

Attention: default tokenizer is really poor. To get good results you should implement a custom tokenizer. The path isn't so simple:

  • find the tokenizer (with stemmer?) that should fit your need, or develop it
  • glue it with sqlite.c sources
  • glue a JNI interface to wrap the native library so it will be accessible from the dalvik VM
  • use NDK to compile sqlite.c from scratch and prepare a dynamic library for Android

Here in stackoverflow you should find some good posts to start learning how to do that.

Look at these projects to get some good starting point:

  • sqlite4java
  • sqlcipher
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!