# Question about boost field

**URL:** <https://discuss.elastic.co/t/question-about-boost-field/7731>\
**Category:** Elasticsearch\
**Created:** [May 17, 2012, 12:03am UTC](https://discuss.elastic.co/t/question-about-boost-field/7731 "2012-05-17T00:03:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 17, 2012, 12:03am UTC](https://discuss.elastic.co/t/question-about-boost-field/7731/1 "2012-05-17T00:03:24Z")

</div>

I modified a mapping to specify which field to use for a document boost:

"\_boost" : {"name" : "BoostValue", "null\_value" : 1.0}

The field is also defined in the mapping:

"BoostValue" : {"type":"float"}

The boost seems to be correctly applied and appears in the document,  
but does not appear in the mapping. Is this situation correct?

Cheers,

Ivan

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 20, 2012, 5:45pm UTC](https://discuss.elastic.co/t/question-about-boost-field/7731/2 "2012-05-20T17:45:30Z")

</div>

You mean when you do get mapping, you don't see it? It should be there (if  
its not there, it means that it won't be applied...), can you create a  
simple repro to show it if thats the case?

On Thu, May 17, 2012 at 2:03 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> I modified a mapping to specify which field to use for a document boost:
> 
> "\_boost" : {"name" : "BoostValue", "null\_value" : 1.0}
> 
> The field is also defined in the mapping:
> 
> "BoostValue" : {"type":"float"}
> 
> The boost seems to be correctly applied and appears in the document,  
> but does not appear in the mapping. Is this situation correct?
> 
> Cheers,
> 
> Ivan

---

<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:** [July 6, 2017, 3:28am UTC](https://discuss.elastic.co/t/question-about-boost-field/7731/3 "2017-07-06T03:28:04Z")

</div>


