django-elasticsearch-dsl icon indicating copy to clipboard operation
django-elasticsearch-dsl copied to clipboard

how to update elastic index manually after desactivating signals

Open abdelwahebmoalla opened this issue 5 years ago • 1 comments

I set both ignore_signals = True auto_refresh = True because I want to update my instance after a sepecific conditions I tried registry.update(instance) manually but it didn't work

abdelwahebmoalla avatar Apr 29 '19 08:04 abdelwahebmoalla

This will not work because the signals don´t run if you disable autosync. https://github.com/sabricot/django-elasticsearch-dsl/blob/777e9da501aaaee0a8bed6cf24542aed327e48b6/django_elasticsearch_dsl/registries.py#L135-L136

raelmax avatar Apr 25 '20 20:04 raelmax