# Boosting according to users preferences

**URL:** <https://discuss.elastic.co/t/boosting-according-to-users-preferences/15304>\
**Category:** Elasticsearch\
**Created:** [January 17, 2014, 10:56pm UTC](https://discuss.elastic.co/t/boosting-according-to-users-preferences/15304 "2014-01-17T22:56:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khaled\_gomaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khaled_gomaa/32/1857_2.png) [@khaled\_gomaa](https://discuss.elastic.co/u/khaled_gomaa)\
**Post date:** [January 17, 2014, 10:56pm UTC](https://discuss.elastic.co/t/boosting-according-to-users-preferences/15304/1 "2014-01-17T22:56:14Z")

</div>

Im creating a targeted ads system.  
I have a machine learning part which analyzes the user preference and send  
me a list with scores of these tags.  
I want to boost those tags with their corresponding value. eg, { 'gaming':  
10, sports: 5, 'movies': -1}

--  
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/02475bef-8c39-4c51-a0b6-ddf5cc2d29c6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02475bef-8c39-4c51-a0b6-ddf5cc2d29c6%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:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [January 17, 2014, 11:27pm UTC](https://discuss.elastic.co/t/boosting-according-to-users-preferences/15304/2 "2014-01-17T23:27:54Z")

</div>

Have a look at the function score query and for using filters with a boost factor with it.

Sent from my iPhone

> On Jan 17, 2014, at 5:56 PM, khaled gomaa [khaled.gomaa.90@gmail.com](mailto:khaled.gomaa.90@gmail.com) wrote:
> 
> ## Im creating a targeted ads system. I have a machine learning part which analyzes the user preference and send me a list with scores of these tags. I want to boost those tags with their corresponding value. eg, { 'gaming': 10, sports: 5, 'movies': -1}
> 
> 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/02475bef-8c39-4c51-a0b6-ddf5cc2d29c6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02475bef-8c39-4c51-a0b6-ddf5cc2d29c6%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/8660484A-6480-42B0-AC9A-6EC9D44C9817%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/8660484A-6480-42B0-AC9A-6EC9D44C9817%40gmail.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:56am UTC](https://discuss.elastic.co/t/boosting-according-to-users-preferences/15304/3 "2017-07-06T01:56:05Z")

</div>


