# Bool must and must\_not as arrays in documentation

**URL:** <https://discuss.elastic.co/t/bool-must-and-must-not-as-arrays-in-documentation/167909>\
**Category:** Elasticsearch\
**Created:** [February 11, 2019, 6:02pm UTC](https://discuss.elastic.co/t/bool-must-and-must-not-as-arrays-in-documentation/167909 "2019-02-11T18:02:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankshad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frankshad/32/11031_2.png) [@frankshad](https://discuss.elastic.co/u/frankshad)\
**Post date:** [February 11, 2019, 6:02pm UTC](https://discuss.elastic.co/t/bool-must-and-must-not-as-arrays-in-documentation/167909/1 "2019-02-11T18:02:34Z")

</div>

I have just discovered that must and must\_not in bool queries can be arrays. The documentation page doesn't say this and all the examples show an object for these and an array for should, so I assumed that was what it should be and have been constructing conjunctions with should and minimum\_should\_match, and sometimes additional bools.

Would it be possible to update the documentation ([https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html) ) to show this is possible, thanks.

---

<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 11, 2019, 6:02pm UTC](https://discuss.elastic.co/t/bool-must-and-must-not-as-arrays-in-documentation/167909/2 "2019-03-11T18:02:38Z")

</div>

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