1

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

0

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Didn't you mean"delete by query" instead of "update by query"?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.