Specific Collection Backfill and Schema Config in Firebase Extension
TLDR Loic asked Jason about backfilling specific collections with the Firebase Extension and configuring collection schemas. The latter explained current limitations and gave advices about handling attributes for search/filtering, storage, and return.
Apr 27, 2022 (18 months ago)
Loic
05:58 PMWith the Firebase Extension (https://github.com/typesense/firestore-typesense-search#step-3%EF%B8%8F%E2%83%A3--optional-backfill-existing-data) can we backfill a specific collection and not all at once?
Jason
06:20 PMLoic
06:24 PMLoic
06:30 PMid
"fields": [
{
"name": "id",
"type": "string",
"index": true
},
…
Is this an expected behavior? :thinking_face:
Jason
06:30 PMLoic
06:31 PMLoic
06:50 PMIf I know that I will query by
FieldA
but never by FieldB
, what should be the difference in"fields": [
{
"name": "FieldA",
"type": "string",
"index": true
},{
"name": "FieldB",
"type": "string",
"index": true
},
…
Jason
06:50 PMJason
06:51 PMLoic
06:51 PMLoic
06:51 PMFieldB
Loic
06:51 PMJason
06:52 PMJason
06:52 PMIf you want to sync all fields over from Firestore, you want to leave the fields configuration in the extension blank
Loic
06:53 PMFieldA
, FieldB
and FieldC
I would like to have in typesense
FieldA
& FieldB
storedQuery by
FieldA
only and return FieldA
& FieldB
in the resultsJason
06:54 PMFieldA,FieldB
in the list of fields.Then in Typesense, only add
FieldA
to the schemaLoic
06:55 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Firestore to Typesense Backfill Issue with Dynamic Paths
Greg experienced issues with Firestore to Typesense backfill not working, and Jason determined it might be related to dynamic paths in Firestore collections not being supported. An RC version of the extension with dynamic path support was considered but needs further review before being shared with Greg.
Configuring Typesense Extension for Nested Fields in Firebase Collection
David had issues indexing nested fields using the Typesense extension. Jason offered advice on specifying schemas and prioritizing specific fields, but there remained unresolved challenges with the schema.
User Queries About TypeSense Cloud and Firebase Integration
Loic had various queries about TypeSense Cloud and Firebase integration including modifying schema, existing documents, and geopoint and timestamp indexing. Kishore Nallan, Jason, and Harpreet provided clarifications and solutions.
Solving Bool Field Filtering Issue in Typesense
Guillermo was struggling with filtering by a bool field in Typesense. Jason assisted, and realized that Guillermo forgot to add the relevant field in the firebase-typesense extension configuration.
Issue with Query Hangs Identifying Different Collection Field Names
Kanak experiences query hangs when collection field names differ. Ahmed had an issue adding documents to collections, which was self-resolved. Kishore Nallan resolved Kanak's issue with the updated build.