Orkun
Orkun

Reputation: 512

How delete fetched documents from elasticsearch with Python

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

Upvotes: 1

Views: 75

Answers (1)

Amit
Amit

Reputation: 32376

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.

Upvotes: 2

Related Questions