How to cancel/stop current long running search request in Elasticsearch?

My index has almost 50 million records in it and sometime It will take to much time to execute with a search request
So can we cancel current running search request?

{
query:{
search request:
{
filter criteria:{
//taking long time to execute
}
}
}
}

so how we can cancel particular request executing in ES server?

You cannot at this stage, it's something we're working towards though.

So will it be possible in next version of ES?

I don't know when it's due.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.