Open JeltevanBoheemen opened 5 months ago
A problem with a post-index signal (or adding the code at the end of the index function) is that we often index (or re-index) on a separate server. I don't think there is an "easy" solution to trigger a signal on one server after updating the index from another?
Is your feature request related to a problem? Please describe. Some functionality would require code to be run before/after ES indexing.
Describe the solution you'd like Indexing should supply hooks that can be used to execute. Proposed hooks:
Possible solutions: Django signals. If we want to fire these from models, requires #1533
Describe alternatives you've considered Just adding the code on index requests.
Additional context Would be used in e.g. #1535