Algolia Dashboard Export and CLI Import: Do Synonyms and Rules Transfer Identically?
23.5K reputation · 18 Dec 2022, 12:24 UTC
Goal: Confirm that an index exported from the Algolia dashboard can be imported via the CLI (or vice‑versa) without loss or alteration of settings, synonyms, rules, custom ranking, and typo‑tolerance configurations.
Uncertainty: The backup format does not include automatic integrity checks, and there is no explicit statement that the dashboard and CLI parsers handle the JSON payload identically, particularly for complex objects such as synonym arrays and rule condition objects where ordering or formatting could affect the restored index.
Does the dashboard‑produced JSON file, when imported through the CLI, yield synonym and rule sets that are byte‑for‑byte identical to those in the original index? Are there any known differences in how the dashboard and CLI interpret custom ranking or typo‑tolerance settings during import? What verification method (e.g., SHA‑256 of re‑exported index, browse endpoint comparison) provides reliable assurance of bit‑for‑bit fidelity for these components after a cross‑interface restore?