是否还有从Android平台在SQlite实施全文本搜索(FTS)? [英] Is there anyway to implement Full Text Search (FTS) in SQlite from Android platform?

查看:462
本文介绍了是否还有从Android平台在SQlite实施全文本搜索(FTS)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个从用户那里收集大量笔记的应用程序。我想对音符进行全文搜索,以便用户可以从整个音符数组中获取相关音符。
我正在寻找一个解决方案。全文搜索(FTS)实际上是由SQLite支持的,但它是可用于Android吗?

I am trying to create an application which collects a lot of notes from users. I want to implement full text search on the notes so that the user can get relevant notes from the whole array of notes. I am looking for a solution for this. Full-text-search(FTS) is actually supported by SQLite, but is it available for Android? Can anybody enlighten me on this?

推荐答案

Android中支持在SQLite中进行全文搜索。您可以在我的应用程序中看到此示例:

Full text search in SQLite is supported in Android. You can see an example of it being used in my application here:

http://github.com/bpellin/keepassdroid/blob/master/src/com/keepassdroid/search/SearchDbHelper.java

这篇关于是否还有从Android平台在SQlite实施全文本搜索(FTS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆