I m fetching some documents from elasticsearch with scroll api. I'm using python for this operation. I want to ask how to delete that fetched documents from elasticsearch in python? Can someone give an example of this. Thanks for answering
Asked
Active
Viewed 59 times
1 Answers
2
I guess you are looking for Delete by query and you can easily convert this to python code and refer this SO answer for some python syntax.

Amit
- 30,756
- 6
- 57
- 88
-
1Didn't you mean"delete by query" instead of "update by query"? – Val Jan 18 '21 at 12:52