Timeout for facets

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.

--

Hi Mike,

Unfortunately, all I can do it point you to
https://groups.google.com/forum/?fromgroups=#!searchin/elasticsearch/otis$20timeout/elasticsearch/Lr9J-WZbtIw/6620kh45rmgJ

In tests we've done so far timeout didn't work no matter how we specified
it.

Otis

Search Analytics - Cloud Monitoring Tools & Services | Sematext
Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service

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.

--

Hi,

a long time ago I asked similar question (at the Java API level):
http://elasticsearch-users.115913.n3.nabble.com/Different-API-calls-for-the-same-timeout-functionality-td2850753.html

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.

Regards,
Lukas

On Fri, Oct 5, 2012 at 5:24 AM, Otis Gospodnetic <otis.gospodnetic@gmail.com

wrote:

Hi Mike,

Unfortunately, all I can do it point you to
Redirecting to Google Groups

In tests we've done so far timeout didn't work no matter how we specified
it.

Otis

Search Analytics - Cloud Monitoring Tools & Services | Sematext
Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service

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.

--

--