algolia / firestore-algolia-search

Apache License 2.0
112 stars 35 forks source link

Firebase Emulator Suite #153

Closed refectco closed 1 year ago

refectco commented 1 year ago

I'm trying to use this extension with the Firebase Emulator Suite, but can't seem to wrap my head around how to configure it.

In Algolia, I have different indicies for each of my environments, including local:

After I configured the extension for both local and dev, I run into an issue where when I update a document in the emulator suite - both indicies update.

This might be related, but when adding the API Key there are 2 options: Secrets Manager and Local Config. Both say they can be used with the emulator suite, though it makes sense to only use Local Config. However when I only select Local Config (when configuring local) I get an error when deploying.

Speaking of which, I've always just used my dev project id when configuring the Firebase Emulator Suite - should I use a different project id?