lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@hoplahup.net>
Subject Re: Boosting a document score when advertised! Please help!
Date Thu, 05 Nov 2015 14:12:54 GMT
Alessandro,

none of them seem to match what I'd expect be done: given an extra param
that indicates the author, for each query, add an extra boosting.

Christian,
I used to do that with a query component (in java) but I think that
nowadays you can do that with the bq parameter of edismax.

paul



> Alessandro Benedetti <mailto:abenedetti@apache.org>
> 5 novembre 2015 12:33
> Hi Christian,
> there are several ways :
>
> 1) Elevation query component - it should be your winner :
> https://cwiki.apache.org/confluence/display/solr/The+Query+Elevation+Component
>
> 2) Play with boosting according to your requirements
>
> Cheers
>
>
>
> liviuchristian@yahoo.com.INVALID <mailto:liviuchristian@yahoo.com.INVALID>
> 5 novembre 2015 11:52
> Hi everyone,I'm building a food recipe search engine based on solr.
>
> I need to boost documents score for the recipes that their authors
> paid for in order to have them returned first when somebody searches
> for "chocolate cake with hazelnuts". So those recipes that match the
> query terms and their authors paid to be listed first need to be
> returned first, ahead of the unpaid ones that match the query.
>
> How do I do that in Solr?
> PLEASE HELP!
> Regards,
> Christian
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message