fix: apply options correctly for indices config import by kai687 · Pull Request #175 · algolia/cli

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@kai687

Copy link Copy Markdown

Contributor

@kai687 kai687 commented

Jan 28, 2025

In the algolia indices config import command, these options were not passed correctly to the API client methods 'SaveSynonyms' and 'SaveRules'.

  • --clear-existing-rules
  • --clear-existing-synonyms
  • --forward-synonyms-to-replicas

Fixes #174

@kai687 kai687 marked this pull request as ready for review

January 28, 2025 17:52

@dylantientcheu dylantientcheu merged commit f46d38d into algolia:main

Jan 29, 2025

@kai687 kai687 deleted the fix/clear branch

August 7, 2025 16:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dylantientcheu dylantientcheu dylantientcheu approved these changes

@8bittitan 8bittitan 8bittitan approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

--clear-existing-rules --clear-existing-synonyms flags do not work on indices config import

3 participants

@kai687 @dylantientcheu @8bittitan