spring-projects/spring-data-elasticsearch — pull request #63 by greyfairer (2014-07-02 13:53:53+00:00)
Title: DATAES-100: Allow configurable searchTimeout.

In ES Client, in the actionGet(), you can specify a timeout, after which you will get a ElasticSearchTimeoutException.
If you use the actionGet() without timeout, some calls will block indefinitely or until the thread is interrupted.
I'd suggest to make it a single property of ElasticsearchTemplate, to be used in all search queries.