# About the timeout of elasticsearch

**URL:** <https://discuss.elastic.co/t/about-the-timeout-of-elasticsearch/290555>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [November 30, 2021, 12:14pm UTC](https://discuss.elastic.co/t/about-the-timeout-of-elasticsearch/290555 "2021-11-30T12:14:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zekaifeng](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zekaifeng](https://discuss.elastic.co/u/zekaifeng)\
**Post date:** [November 30, 2021, 12:14pm UTC](https://discuss.elastic.co/t/about-the-timeout-of-elasticsearch/290555/1 "2021-11-30T12:14:10Z")

</div>

When using the Java highlevel API to execute a query, the timeout is specified.  
The client timeout is abnormal, but the server is still querying.  
This timeout only be for the client?  
Or another way of saying that the timeout parameter of the server is only for the query of shard, is that right?

---

<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:** [December 28, 2021, 12:14pm UTC](https://discuss.elastic.co/t/about-the-timeout-of-elasticsearch/290555/2 "2021-12-28T12:14:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
