Algolia 与 Cloud Firestore 使用 Android?
Algolia with Cloud Firestore using Android?
我知道 Algolia 可以完美地与 Firebase 实时数据库一起工作,但是有什么方法可以让我们使用 Android 通过 Cloud Firestore 实现 Algolia?
正在同步
Algolia 中的数据同步和索引通常在后端完成(例如 Node.js)。在同步 Cloud Firestore 和 Algolia 的情况下,您将需要使用 Firestore events in order to listen to new changes in Firestore and make the proper changes in Algolia (as described in their full-text search docs,它位于 Node.js).
搜索
为了在您的 Android 应用程序中搜索来自 Algolia 的数据,您将需要使用以 Android 编写的 Algolia 移动 SDK(参见 Getting started for Android)。如果您想查询您的 Cloud Firestore,那么您可以单独使用 Firebase SDK 来实现。
我知道 Algolia 可以完美地与 Firebase 实时数据库一起工作,但是有什么方法可以让我们使用 Android 通过 Cloud Firestore 实现 Algolia?
正在同步
Algolia 中的数据同步和索引通常在后端完成(例如 Node.js)。在同步 Cloud Firestore 和 Algolia 的情况下,您将需要使用 Firestore events in order to listen to new changes in Firestore and make the proper changes in Algolia (as described in their full-text search docs,它位于 Node.js).
搜索
为了在您的 Android 应用程序中搜索来自 Algolia 的数据,您将需要使用以 Android 编写的 Algolia 移动 SDK(参见 Getting started for Android)。如果您想查询您的 Cloud Firestore,那么您可以单独使用 Firebase SDK 来实现。