Using Typesense with Firebase Subcollections
TLDR Janick asked how to use Typesense with Firebase subcollections. Jason suggested flattening the collection and adding the sub-collection ID as an attribute. Alexander added info on permissions.

Apr 06, 2022 (17 months ago)
Janick
01:00 PMJason
01:50 PMJason
01:51 PMusers/<user_id>/profile
you would convert that to user_profiles
and have user_id
as an attribute inside each documentJanick
02:53 PM
Alexander
05:00 PMJanick
05:01 PMJanick
05:02 PMcategory:= [
Running Shoes, Men, Sneaker]
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Syncing Subcollection Documents using Firestore-Typesense-Search Extension
Greg asked about syncing subcollection documents using Firestore-Typesense-Search extension. JP provided a relevant GitHub link.
Resolving Issues with Firebase Extension and Typesense Configuration
Ernie sought clarification on how to handle the Firebase Extension and typesense collection configuration issues. Jason explained how to correctly specify the path and refresh the page to see updated data. After applying the advice given, Ernie successfully saw the changes.


Querying Document IDs in Typesense Using Firebase Extension
Vera was having trouble querying document IDs in Typesense. Jason suggested including it explicitly in the collection schema in Typesense.