django-elasticsearch-dsl
django-elasticsearch-dsl copied to clipboard
Duplicated listings on save errors
I had a background scheduled task that was saving an object that was being indexed to ES. It was erroring. On every error, due to OneToOneField rules and such, it was generating new objects with new IDs on every save/fail, replacing the original. On my ES index, every instance was indexed and left behind (2400+ times).
Is there a way I can avoid this or is this a bug?