You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Currently, the firebase extension allows via a script to import the existing documents already present in Firestore before its installation.
To do it, the script proposes two ways to be launched in prompt mode and in command-line mode. It will be nice to add the possibility to launch the script with a configuration file that would contain all variables.
alallema
changed the title
Add the possibility to launch the script via configuration file
Add the ability to launch the script via configuration file
Dec 9, 2021
alallema
changed the title
Add the ability to launch the script via configuration file
Add the ability to launch the import script via configuration file
Dec 9, 2021
28: Add Backfilled data script r=alallema a=alallema
# Pull Request
## What does this PR do?
Add a script to back-filled data from Firestore to MeiliSearch to give the possibility to import existing documents or reindex them if you already have documents in a Firestore Collection when you enable the MeiliSearch extension.
Check [an example from google extension](https://github.com/firebase/extensions/tree/master/firestore-bigquery-export#backfill-your-bigquery-dataset)
#15
## PR checklist
- [x] Handles different possibilities to launch the script
- [x] Command line with parameter
- [x] interactively
- [x] Add the possibility to import documents by batch
- [x] Add the possibility to import documents from sub-collections
- [x] Write a guide
**Notes:**
- The ability to run the script with a configuration file is not part of the MVP and may be implemented later #29
Co-authored-by: alallema <amelie@meilisearch.com>
Co-authored-by: Amélie <alallema@users.noreply.github.com>
bidoubiwa
changed the title
Add the ability to launch the import script via configuration file
Add the ability to provide a configuration file on CLI launch
May 3, 2022
Description
Currently, the firebase extension allows via a script to import the existing documents already present in Firestore before its installation.
To do it, the script proposes two ways to be launched in prompt mode and in command-line mode. It will be nice to add the possibility to launch the script with a configuration file that would contain all variables.
Basic example
File with configuration fields:
Command line to launch the script:
The text was updated successfully, but these errors were encountered: