# QueryBuilder.add(BoolQueryBuilder) is undefined for the type

**URL:** <https://discuss.elastic.co/t/querybuilder-add-boolquerybuilder-is-undefined-for-the-type/116469>\
**Category:** Elasticsearch\
**Created:** [January 22, 2018, 10:39am UTC](https://discuss.elastic.co/t/querybuilder-add-boolquerybuilder-is-undefined-for-the-type/116469 "2018-01-22T10:39:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 22, 2018, 11:40am UTC](https://discuss.elastic.co/t/querybuilder-add-boolquerybuilder-is-undefined-for-the-type/116469/4 "2018-01-22T11:40:49Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

**Don't use citation icon but code icon** if you are not using the markdown style. Thanks.

---

_[View the full topic](https://discuss.elastic.co/t/querybuilder-add-boolquerybuilder-is-undefined-for-the-type/116469)._
