# Questions about the timeout search option

**URL:** <https://discuss.elastic.co/t/questions-about-the-timeout-search-option/20787>\
**Category:** Elasticsearch\
**Created:** [November 17, 2014, 3:48pm UTC](https://discuss.elastic.co/t/questions-about-the-timeout-search-option/20787 "2014-11-17T15:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickcanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickcanz/32/44873_2.png) [@nickcanz](https://discuss.elastic.co/u/nickcanz)\
**Post date:** [November 17, 2014, 3:48pm UTC](https://discuss.elastic.co/t/questions-about-the-timeout-search-option/20787/1 "2014-11-17T15:48:26Z")

</div>

Link to appropriate documentation:  
[http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/\_search\_options.html#\_literal\_timeout\_literal\_2](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_search_options.html#_literal_timeout_literal_2)

In particular: "By default, the coordinating node waits to receive a  
response from all shards. If one node is having trouble, it could slow down  
the response to all search requests."

1. Is it the case where if I don't set the timeout, the coordinating node  
will really wait forever?

2. When would this situation occur? I'm assuming when cluster state is  
"yellow", the coordinating node knows not to request from the "bad" shard.  
Just high load/GC on a particular node?

3. Any reason not to set this on all my requests to a relatively high value?

Thanks,

--  
Nick Canzoneri  
Developer, Wildbit [http://wildbit.com/](http://wildbit.com/)  
Beanstalk [http://beanstalkapp.com/](http://beanstalkapp.com/), Postmark [http://postmarkapp.com/](http://postmarkapp.com/),  
dploy.io

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKWm5yM8UmCq5Vd%3DOMtOtwH-Qar5ALxTwZq\_Tm2HcK3Too1tTA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKWm5yM8UmCq5Vd%3DOMtOtwH-Qar5ALxTwZq_Tm2HcK3Too1tTA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:49am UTC](https://discuss.elastic.co/t/questions-about-the-timeout-search-option/20787/2 "2017-07-06T00:49:31Z")

</div>

Closed on July 6, 2017, 12:49am UTC


