Boosting according to users preferences

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.
To view this discussion on the web visit 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.

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 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.
To view this discussion on the web visit 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.

--
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.
To view this discussion on the web visit 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.