#community-help

Backfilling Data for Typesense Extensions

TLDR Shaun asked if a method would trigger backfill for all typesense extensions. Jason confirmed and provided a solution for backfilling a single collection.

Powered by Struct AI

1

3
8mo
Solved
Join the chat
Mar 30, 2023 (8 months ago)
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
03:51 AM
Secondly, when backfilling data:

1. Create a new Firestore collection called typesense_sync through the Firestore UI.
2. Create a new document with the ID backfill and contents of {trigger: true}
Will this trigger backfill activity for all typesense extensions regardless if you are only interested in just backfilling one of them?
Image 1 for Secondly, when backfilling data:

1. Create a new Firestore collection called `typesense_sync` through the Firestore UI.
2. Create a new document with the ID `backfill` and contents of `{trigger: true}`
Will this trigger backfill activity for _all_ typesense extensions regardless if you are only interested in just backfilling one of them?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:46 AM
> Will this trigger backfill activity for all typesense extensions
That’s correct.

If you want to backfill just one collection, have a look at the 3rd bullet point under “Backfill existing data” here: https://github.com/typesense/firestore-typesense-search
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
04:58 AM
Thanks - thats what I was looking for

1