How to check if an index exists in elasticsearch using a python script and perform exception handling over it?
How to check if an index exists in elasticsearch using a python script and perform exception handling over it? Question: How do I check whether an index exists or not using a python query? I’m passing my index as a variable assigned outside the query as :- i=int(datetime.datetime.now().strftime(‘%d’))+1 indextring=”index” for m in range (i-10,i): d …
Total answers: 1