You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fulltext-search-firestore/README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
-
# Full Text search via Algolia
1
+
# Full Text search
2
2
3
-
This template shows how to enable full text search on Firestore documents by using an [Algolia](https://algolia.com) hosted search service.
3
+
This template shows how to enable full text search on Firestore documents by using one of the followning hosted search services:
4
+
5
+
*[Algolia](https://algolia.com)
6
+
*[Elastic](https://elastic.co)
7
+
*[Typesense](https://typesense.org)
4
8
5
9
## Functions Code
6
10
@@ -16,17 +20,14 @@ As an example we'll be using a secure note structure:
16
20
/notes
17
21
/note-123456
18
22
text: "This is my first note...",
19
-
author: "FIREBASE_USER_ID"
23
+
owner: "FIREBASE_USER_ID"
20
24
/note-123457
21
25
text: "This is my second note entry...",
22
-
author: "FIREBASE_USER_ID"
26
+
owner: "FIREBASE_USER_ID"
23
27
tags: ["some_category"]
24
28
```
25
29
26
-
Whenever a new note is created or modified a Function sends the content to be indexed to the Algolia instance.
27
-
28
-
To securely search notes, a user is issued a [Secured API Key](https://www.algolia.com/doc/guides/security/api-keys/#secured-api-keys) from Algolia which
29
-
limits which documents they can search through.
30
+
Whenever a new note is created or modified a Function sends the content to be indexed.
0 commit comments