a long time ago I asked similar question (at the Java API level):
May be the answer will help you a bit.
But as I said, this was more the year ago so not sure if it is still valid.
On Fri, Oct 5, 2012 at 5:24 AM, Otis Gospodnetic <email@example.com
Unfortunately, all I can do it point you to
In tests we've done so far timeout didn't work no matter how we specified
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html
On Thursday, October 4, 2012 6:02:36 PM UTC-4, Mike wrote:
Is there a way to set a timeout when querying for facets? I've set
"/_search?size=0&timeout=10s" in the search DSL, but I do not get a
response back from elastic within 10 seconds when I purposely send facet
that will take a very very long time (for testing purposes). I have also
set a timeout on curl for 20 seconds just so I don't wait forever, and I
end up getting a response back from curl saying the query timed out while
elastic remains unresponsive.