algoliasearch-django icon indicating copy to clipboard operation
algoliasearch-django copied to clipboard

upon reindexing the main index overwrites its replica configurations - this behaviour should made configurable as it might be undesired

Open macolo opened this issue 4 years ago • 0 comments

  • Django version: any
  • Algolia Django integration version: any
  • Algolia Client Version: any
  • Language Version: any

Description

upon reindexing the main index overwrites its replica configurations - this behaviour should made configurable as it might be undesired

Steps To Reproduce

  • set up an index on algolia.com
  • create a replica, change its settings
  • run the reindex command and then go to algolia.com and see that the replica settings has been set to the main index' setting

Here is a quick patch that solves this undesired behaviour: https://github.com/what-digital/algoliasearch-django/pull/1/files

macolo avatar Apr 01 '21 13:04 macolo