Node.js client timeout doesn't work (for me)

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

here is the code:

var queryBegin = moment();{ 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


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
To view this discussion on the web visit
For more options, visit