# Question on boost mapping type

**URL:** <https://discuss.elastic.co/t/question-on-boost-mapping-type/130517>\
**Category:** Elasticsearch\
**Created:** [May 3, 2018, 7:22pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517 "2018-05-03T19:22:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagannath\_Kondapalli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagannath_kondapalli/32/51561_2.png) [@Jagannath\_Kondapalli](https://discuss.elastic.co/u/Jagannath_Kondapalli)\
**Post date:** [May 3, 2018, 7:22pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517/1 "2018-05-03T19:22:40Z")

</div>

I was going through the documentation for boolean datatype and I saw that boost is an allowed parameter for boolean. However, when I go to boost documentation, Index time boost is deprecated and query time boost is recommended. Can you please clarify if the boost in mapping definition of the field has any significance?

Thanks  
Jagan K

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [May 5, 2018, 2:52pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517/2 "2018-05-05T14:52:03Z")

</div>

Can you please link the documentation that you are referring to?

---

<div class="post-metadata">

**Author:** ![Jagannath\_Kondapalli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jagannath_kondapalli/32/51561_2.png) [@Jagannath\_Kondapalli](https://discuss.elastic.co/u/Jagannath_Kondapalli)\
**Post date:** [May 7, 2018, 2:10pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517/3 "2018-05-07T14:10:51Z")

</div>

boost link - [https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-boost.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-boost.html)

boolean datatype link - [https://www.elastic.co/guide/en/elasticsearch/reference/current/boolean.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/boolean.html)

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [May 7, 2018, 2:38pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517/4 "2018-05-07T14:38:51Z")

</div>

As of version 5.x the boost field in the mapping will be used for query time boosting instead of index time boosting. This means that, when a document is indexed, the boost field is ignored and when the index is queried using the field then the boost field is used for boosting.

---

<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:** [June 4, 2018, 2:38pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517/5 "2018-06-04T14:38:55Z")

</div>

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