You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Spadez <ja...@hotmail.com> on 2013/06/09 11:46:28 UTC

Boosting based on value of field

Hi,

By the looks of it I have a few options with regards to boosting. I was
wondering from a performance point of view am I better to set the boost of
certain results on import via the DIH or instead is it better to set the
boost when doing queries, by adding it to the default queries?

I have a "source" value and I want to boost it in the relevancy if it has a
certain value, say for example:

source=google then boost 10
source=bing then boost 5

Thanks for any help you can give!

James



--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-based-on-value-of-field-tp4069157.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Boosting based on value of field

Posted by Otis Gospodnetic <ot...@gmail.com>.
Index time boosting should be a bit faster, but not as flexible. Probably
better to go for query time boosting first.

Otis
Solr & ElasticSearch Support
http://sematext.com/
On Jun 9, 2013 5:46 AM, "Spadez" <ja...@hotmail.com> wrote:

> Hi,
>
> By the looks of it I have a few options with regards to boosting. I was
> wondering from a performance point of view am I better to set the boost of
> certain results on import via the DIH or instead is it better to set the
> boost when doing queries, by adding it to the default queries?
>
> I have a "source" value and I want to boost it in the relevancy if it has a
> certain value, say for example:
>
> source=google then boost 10
> source=bing then boost 5
>
> Thanks for any help you can give!
>
> James
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Boosting-based-on-value-of-field-tp4069157.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>