# Setting max\_concurrent\_shard\_requests with Java client

**URL:** <https://discuss.elastic.co/t/setting-max-concurrent-shard-requests-with-java-client/218831>\
**Category:** Elasticsearch\
**Created:** [February 11, 2020, 5:15pm UTC](https://discuss.elastic.co/t/setting-max-concurrent-shard-requests-with-java-client/218831 "2020-02-11T17:15:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brent\_Farrell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brent_farrell/32/62466_2.png) [@Brent\_Farrell](https://discuss.elastic.co/u/Brent_Farrell)\
**Post date:** [February 11, 2020, 5:15pm UTC](https://discuss.elastic.co/t/setting-max-concurrent-shard-requests-with-java-client/218831/1 "2020-02-11T17:15:26Z")

</div>

Hello,  
I am using the high-level REST client to invoke the multi-search and multi-template search APIs. I see that I can set max\_concurrent\_searches with the method maxConcurrentSearchRequests(int) but I do not see a method to set max\_concurrent\_shard\_requests.

---

<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:** [March 10, 2020, 5:27pm UTC](https://discuss.elastic.co/t/setting-max-concurrent-shard-requests-with-java-client/218831/2 "2020-03-10T17:27:39Z")

</div>

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