My code creates a dict file Sam10.txt:
My Code:
res=helpers.scan(es,query=search_param,index=index_name, size=10000,request_timeout = None,scroll= \'10