【发布时间】:2009-12-29 19:08:14
【问题描述】:
Android 有没有办法做Full Text Search?
我知道is it not even possible to search contacts by the notes field,作为搜索公司的谷歌,但如果没有 API,我会很失望。
【问题讨论】:
标签: android database sqlite full-text-search android-room
Android 有没有办法做Full Text Search?
我知道is it not even possible to search contacts by the notes field,作为搜索公司的谷歌,但如果没有 API,我会很失望。
【问题讨论】:
标签: android database sqlite full-text-search android-room
提供Full Text Search 的最简单方法是在SQLite 中使用FTS3
【讨论】:
Android 的 Room 库使用 SQLite 提供全文搜索。
Google 的 Firebase Firestore 使用第 3 方服务 Algolia 概述了 full-text search solution。可以使用其他 3rd 方服务,例如 Elastic Search。
【讨论】:
Lucene 是另一种方法,比 SQLite FTS 更快
【讨论】: