Elastic Search Query TimeOut not working


(raghu) #1

Hi All
we are using Elastic Search RESt api

I am passing the timeout as query parameter. When i set the timeout value "search " query is not getting timeout
always.

GET _search?timeout=1ms

{
"took": 41,
"timed_out": true,
"_shards": {
"total": 313,
"successful": 313,
"failed": 0
},
}

for some requests time_out is true remaining requests it is giving false

Is there anyway to control the Query TimeOut and "took" value.

Regards,
Raghu.


(system) #2