Now that you've installed the extension, changes from your configured Firestore collection(s)
will be synced to the configured Typesense collection(s) on ${param:TYPESENSE_HOSTS}.
If you installed the legacy single-collection params (${param:FIRESTORE_COLLECTION_PATH} and
${param:TYPESENSE_COLLECTION_NAME}), the extension will still work, but it will log a deprecation
warning. Plan to migrate to FIRESTORE_COLLECTION_PATHS and TYPESENSE_COLLECTION_NAMES in a future
release.
As a reminder in case you haven't already done this, make sure that you have setup a Typesense Collection in one of the following ways:
- Through the Typesense Cloud Dashboard or
- Through the API.
This extension expects a Typesense Cloud collection to already be created and does not create it for you.
This extension only syncs data that was created or changed after it was installed. In order to backfill data that already exists in your Firestore collection to your Typesense Collection:
- Create a new Firestore collection called
typesense_syncthrough the Firestore UI. - Create a new document with the ID
backfilland contents of{trigger: true}
This will trigger the backfill background function, which will read data from your Firestore collection and create equivalent documents in your Typesense collection.
Try adding or updating a Firestore document in your configured Firestore collection through the Firestore UI. You should see the change reflected in your Typesense collection.
As a best practice, you can monitor the activity of your installed extension, including checks on its health, usage, and logs.