>
> Hi Ankit, thank you for the answer.
>

You have just demonstrated the delete by query API that I have been using 
too. In my case it's more complicated though, because I need to delete 
entries from the old indexes too, which in turn are blocked for writing etc.

My question was, are there any better alternatives.

>From ES documentation:

"... it is not recommended to delete "large chunks of the data in an 
index", many times, it’s better to simply reindex into a new index."

As I understand, it affects segment sizing and allocation and can 
negatively impact both indexing and searching.

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to