# Performance impact of multiple BoolQueries

**URL:** <https://discuss.elastic.co/t/performance-impact-of-multiple-boolqueries/240647>\
**Category:** Elasticsearch\
**Created:** [July 10, 2020, 6:17am UTC](https://discuss.elastic.co/t/performance-impact-of-multiple-boolqueries/240647 "2020-07-10T06:17:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![viswanathk243](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/viswanathk243/32/54736_2.png) [@viswanathk243](https://discuss.elastic.co/u/viswanathk243)\
**Post date:** [July 10, 2020, 6:17am UTC](https://discuss.elastic.co/t/performance-impact-of-multiple-boolqueries/240647/1 "2020-07-10T06:17:17Z")

</div>

To my understanding the search queue gets executed sequentially on the Lucene segments, and the search queue length is fixed.

Assuming that my previous understand was correct, how does a search request from client translate into the queries in the search queue? If I make a single Search Request with 50 BoolQueries, will they be translated into 50 queries that are going to placed in the queue?

Am I missing some nuance here?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 10, 2020, 6:38am UTC](https://discuss.elastic.co/t/performance-impact-of-multiple-boolqueries/240647/2 "2020-07-10T06:38:53Z")

</div>

I believe it is basically one slot per request and shard so the number of clauses does not matter.

---

<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:** [August 7, 2020, 6:38am UTC](https://discuss.elastic.co/t/performance-impact-of-multiple-boolqueries/240647/3 "2020-08-07T06:38:57Z")

</div>

Closed on August 7, 2020, 6:38am UTC

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