Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete query results #79

Open
JohnBruce opened this issue Apr 23, 2015 · 3 comments
Open

Delete query results #79

JohnBruce opened this issue Apr 23, 2015 · 3 comments

Comments

@JohnBruce
Copy link

Unless I'm missing something, theres no way to delete the results of queries through the UI. You could only do this by running a manual command.

This seems like a pretty powerful feature to have been left out so perhaps maybe its there and just not obvious?

@jettro
Copy link
Owner

jettro commented Apr 24, 2015

You are right, the goal of this tool when I created it was to learn about the data and how the queries work. After that I started doing index maintenance. But it is a good idea and I will think about it.

@blainsmith
Copy link

Any more on this even tho this is a very old issue?

@jettro
Copy link
Owner

jettro commented Apr 28, 2016

Since elasticsearch took out the API, this cannot be done easily. I would have to add scan/scroll functionality. It is certainly doable, but not on the top of my list at the moment.

Deprecated in 1.5.3.
"Delete by Query will be removed in 2.0: it is problematic since it silently forces a refresh which can quickly cause OutOfMemoryError during concurrent indexing, and can also cause primary and replica to become inconsistent. Instead, use the scroll/scan API to find all matching ids and then issue a bulk request to delete them..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants