【问题标题】:Android Full Text SearchAndroid 全文搜索
【发布时间】: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


【解决方案1】:

提供Full Text Search 的最简单方法是在SQLite 中使用FTS3

【讨论】:

    【解决方案2】:

    带有 Android Room 库的 SQLite 数据库

    Android 的 Room 库使用 SQLite 提供全文搜索。

    请参阅:Support full-text search

    Firebase Firestore 数据库

    Google 的 Firebase Firestore 使用第 3 方服务 Algolia 概述了 full-text search solution。可以使用其他 3rd 方服务,例如 Elastic Search

    【讨论】:

      【解决方案3】:

      Lucene 是另一种方法,比 SQLite FTS 更快

      【讨论】:

        猜你喜欢
        • 2021-10-24
        • 1970-01-01
        • 2015-07-01
        • 2013-06-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多