search.py you have this code:
def bulk_indexing() You said to run in shell. But if I am using elasticsearch in production then how ami I supposed to run this. For this scenario, wouldn’t it be better to execute this function as soon as the server has started.
How to do this?