skip_record_index should be passed to DelBiblio, and update the search engine's index at the end of the process.
Created attachment 132989 [details] [review] Bug 30460: Make BatchDeleteBiblio update the index in one request No need to send 1 indexation request per item + 1 per biblio. Test plan: Confirm that the batch biblio deletion tool still works correctly
Created attachment 134402 [details] [review] Bug 30460: Make BatchDeleteBiblio update the index in one request No need to send 1 indexation request per item + 1 per biblio. Test plan: Confirm that the batch biblio deletion tool still works correctly
Created attachment 134648 [details] [review] Bug 30460: Make BatchDeleteBiblio update the index in one request No need to send 1 indexation request per item + 1 per biblio. Test plan: Confirm that the batch biblio deletion tool still works correctly Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
I'm torn by these patches.. they all improve reliability/reduce the possibility of overwhelming elasticsearch.. but they do so at the detriment of zebra by delaying indexing. As the general movement seems to be towards ES I'm going to PQA regardless :|
Pushed to master for 22.05, thanks to everybody involved [U+1F984]
Crap.. I didn't get Unit Tests added for any of these module changes..