hi guys,
i wonder if someone had the same problem.
i have a heavy query, with complicated script, and i want to give this
query larger timeout.
but no matter, what number i put there, the timeout happens after 30
seconds.
here is the code:
var queryBegin = moment();
client.search({ index: strIndices, type: "xxx", ignoreUnavailable: true, timeout: 600000, body: body}, function (error, response) { var queryEnd = moment(); console.log("query callback. duration: " +(queryEnd-queryBegin) + " ms ");
and the console shows:
getDroppingConversion callback. duration: 30009 ms
Request Timeout after 30000ms
thanks a lot
Lior
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cdd23d99-9e1d-40b0-bfd5-7ba5657bc0c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.