# Boosting issue

**URL:** <https://discuss.elastic.co/t/boosting-issue/5566>\
**Category:** Elasticsearch\
**Created:** [October 11, 2011, 8:05pm UTC](https://discuss.elastic.co/t/boosting-issue/5566 "2011-10-11T20:05:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Eduardo\_da\_Fo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_eduardo_da_fo/32/3112_2.png) [@Carlos\_Eduardo\_da\_Fo](https://discuss.elastic.co/u/Carlos_Eduardo_da_Fo)\
**Post date:** [October 11, 2011, 8:05pm UTC](https://discuss.elastic.co/t/boosting-issue/5566/1 "2011-10-11T20:05:00Z")

</div>

Using the following query: [https://gist.github.com/1279199](https://gist.github.com/1279199)

And seeing this results: [https://gist.github.com/1279209](https://gist.github.com/1279209)

I expect to get the event 397 ("Euax Conference") in first position, as the  
"name" attribute has the highest boost.

The problem is I'm getting it as last result, because address is getting  
boosted for having 2 of the words I did search.

I was using my query without constant\_score on address field before and  
tried to use it to solve this problem but it didn't worked. How can I solve  
it?

My mappings and settings are here: [https://gist.github.com/1279224](https://gist.github.com/1279224)

Sorry posting so many links, I don't know If I should make an extense post.

Thanks.

--  
Carlos Eduardo da Fonseca

---

<div class="post-metadata">

**Author:** ![Carlos\_Eduardo\_da\_Fo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_eduardo_da_fo/32/3112_2.png) [@Carlos\_Eduardo\_da\_Fo](https://discuss.elastic.co/u/Carlos_Eduardo_da_Fo)\
**Post date:** [October 11, 2011, 8:26pm UTC](https://discuss.elastic.co/t/boosting-issue/5566/2 "2011-10-11T20:26:25Z")

</div>

Just to complement, I wish "address" field to receive 5.0 boost  
independently of how many words the query matches.

On Tue, Oct 11, 2011 at 5:05 PM, Carlos Eduardo da Fonseca \<  
[eduardongu@gmail.com](mailto:eduardongu@gmail.com)\> wrote:

> Using the following query: [ElasticSearch 11/10/11 - Query · GitHub](https://gist.github.com/1279199)
> 
> And seeing this results: [ElasticSearch 11/10/11 - Results · GitHub](https://gist.github.com/1279209)
> 
> I expect to get the event 397 ("Euax Conference") in first position, as the  
> "name" attribute has the highest boost.
> 
> The problem is I'm getting it as last result, because address is getting  
> boosted for having 2 of the words I did search.
> 
> I was using my query without constant\_score on address field before and  
> tried to use it to solve this problem but it didn't worked. How can I solve  
> it?
> 
> My mappings and settings are here: [ElasticSearch 11/10/11 - Mappings and Settings · GitHub](https://gist.github.com/1279224)
> 
> Sorry posting so many links, I don't know If I should make  
> an extense post.
> 
> Thanks.
> 
> --  
> Carlos Eduardo da Fonseca

--  
Carlos Eduardo da Fonseca

---

<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:52am UTC](https://discuss.elastic.co/t/boosting-issue/5566/3 "2017-07-06T03:52:21Z")

</div>


