# Different boosts to different fields

**URL:** <https://discuss.elastic.co/t/different-boosts-to-different-fields/15385>\
**Category:** Elasticsearch\
**Created:** [January 23, 2014, 8:32pm UTC](https://discuss.elastic.co/t/different-boosts-to-different-fields/15385 "2014-01-23T20:32:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgi\_mateev](https://avatars.discourse-cdn.com/v4/letter/g/a6a055/32.png) [@georgi\_mateev](https://discuss.elastic.co/u/georgi_mateev)\
**Post date:** [January 23, 2014, 8:32pm UTC](https://discuss.elastic.co/t/different-boosts-to-different-fields/15385/1 "2014-01-23T20:32:34Z")

</div>

What I want to do is do a "fuzzy" (like this) query across multiple fields  
where matches in certain fields should result in a higher score than  
matches in other fields.  
I tried to set different "boost" values to these fields in the mappings and  
then run a fuzzy\_like\_this query over them, but it doesn't make any  
difference to the ranking score in the end. The results are in the exactly  
same order and with the exactly same score value.

How should I do it? I hope I don't have to run a mega-nested query and  
boost the individual subqueries, as it is a faceted search and the indexed  
documents contain about 40 fields. There must be a more convenient way, but  
I can't seem to find it.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [January 24, 2014, 11:08pm UTC](https://discuss.elastic.co/t/different-boosts-to-different-fields/15385/2 "2014-01-24T23:08:26Z")

</div>

Are you omitting norms by any chance on your fields?

--  
Ivan

On Thu, Jan 23, 2014 at 12:32 PM, [georgi.mateev@jobvector.com](mailto:georgi.mateev@jobvector.com) wrote:

> What I want to do is do a "fuzzy" (like this) query across multiple fields  
> where matches in certain fields should result in a higher score than  
> matches in other fields.  
> I tried to set different "boost" values to these fields in the mappings  
> and then run a fuzzy\_like\_this query over them, but it doesn't make any  
> difference to the ranking score in the end. The results are in the exactly  
> same order and with the exactly same score value.
> 
> How should I do it? I hope I don't have to run a mega-nested query and  
> boost the individual subqueries, as it is a faceted search and the indexed  
> documents contain about 40 fields. There must be a more convenient way, but  
> I can't seem to find it.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCAUW%2BqzgEiJDRjFLw6GGy6xj3vWJXk%3D9\_7uTaURhrf\_g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCAUW%2BqzgEiJDRjFLw6GGy6xj3vWJXk%3D9_7uTaURhrf_g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Robert\_Schoenthal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robert_schoenthal/32/1784_2.png) [@Robert\_Schoenthal](https://discuss.elastic.co/u/Robert_Schoenthal)\
**Post date:** [February 21, 2014, 5:22pm UTC](https://discuss.elastic.co/t/different-boosts-to-different-fields/15385/3 "2014-02-21T17:22:55Z")

</div>

same Question here...it would be great if the fuzzy-like-this-query  
supports ^ operators...  
any workarounds out the?

Am Samstag, 25. Januar 2014 00:08:26 UTC+1 schrieb Ivan Brusic:

> Are you omitting norms by any chance on your fields?
> 
> --  
> Ivan
> 
> On Thu, Jan 23, 2014 at 12:32 PM, \<[georgi...@jobvector.com](mailto:georgi...@jobvector.com) \<javascript:\>\>wrote:
> 
> > What I want to do is do a "fuzzy" (like this) query across multiple  
> > fields where matches in certain fields should result in a higher score than  
> > matches in other fields.  
> > I tried to set different "boost" values to these fields in the mappings  
> > and then run a fuzzy\_like\_this query over them, but it doesn't make any  
> > difference to the ranking score in the end. The results are in the exactly  
> > same order and with the exactly same score value.
> > 
> > How should I do it? I hope I don't have to run a mega-nested query and  
> > boost the individual subqueries, as it is a faceted search and the indexed  
> > documents contain about 40 fields. There must be a more convenient way, but  
> > I can't seem to find it.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c26f462b-5009-4b68-b85d-2b5ae7592d07%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b191ff4a-e60c-4323-98da-4bff868afaa7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b191ff4a-e60c-4323-98da-4bff868afaa7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:48am UTC](https://discuss.elastic.co/t/different-boosts-to-different-fields/15385/4 "2017-07-06T01:48:16Z")

</div>


