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: query callback. duration: 30009 ms Request Timeout after 30000ms thanks a lot Lior