# Creating \`Query\` with multi-query clauses, is \`boost\` value required?

**URL:** <https://discuss.elastic.co/t/creating-query-with-multi-query-clauses-is-boost-value-required/310729>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 27, 2022, 9:17am UTC](https://discuss.elastic.co/t/creating-query-with-multi-query-clauses-is-boost-value-required/310729 "2022-07-27T09:17:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALX\_DM](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alx_dm/32/106314_2.png) [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Post date:** [July 27, 2022, 9:17am UTC](https://discuss.elastic.co/t/creating-query-with-multi-query-clauses-is-boost-value-required/310729/1 "2022-07-27T09:17:24Z")

</div>

In the new elasticsearch java client api, when creating a `Query` object, do we need to explicitly provide `boost` value for multi-query clauses?

If not provided, what is the default `boost` value.

Anybody had an idea?

---

<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 24, 2022, 9:18am UTC](https://discuss.elastic.co/t/creating-query-with-multi-query-clauses-is-boost-value-required/310729/2 "2022-08-24T09:18:17Z")

</div>

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