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 darniz <rn...@edmunds.com> on 2009/11/09 03:37:52 UTC
using different field for search and boosting
hello
i wanted to know if its possible to search on one field and provide boosting
relevancy on other fields.
For example if i have fields like make, model, description etc and all are
copied to text field.
So can i define a handler where i do a search on text field but can define
relevancy models on make,model and description ie make^4 model^2
Any advice.
--
View this message in context: http://old.nabble.com/using-different-field-for-search-and-boosting-tp26260479p26260479.html
Sent from the Solr - User mailing list archive at Nabble.com.
RE: using different field for search and boosting
Posted by Birger Lie <Bi...@expert.no>.
Se the Dismax Search Handler
this handler support search on multiple fields and a relevancy biasing :)
-Birger
-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com]
Sent: 9. november 2009 14:35
To: solr-user@lucene.apache.org
Subject: Re: using different field for search and boosting
I'm not sure I understand this. Unless you're including model in
the search, how can you expect model^4 to mean anything? And
if you are including model, would just including it as an OR
clause and boosting it work?
Perhaps a couple of examples of queries you'd like to run and how
you'd like boosting to influence the results would help....
Best
Erick
On Sun, Nov 8, 2009 at 9:37 PM, darniz <rn...@edmunds.com> wrote:
>
> hello
> i wanted to know if its possible to search on one field and provide
> boosting
> relevancy on other fields.
>
> For example if i have fields like make, model, description etc and all are
> copied to text field.
> So can i define a handler where i do a search on text field but can define
> relevancy models on make,model and description ie make^4 model^2
>
> Any advice.
> --
> View this message in context:
> http://old.nabble.com/using-different-field-for-search-and-boosting-tp26260479p26260479.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
Re: using different field for search and boosting
Posted by Erick Erickson <er...@gmail.com>.
I'm not sure I understand this. Unless you're including model in
the search, how can you expect model^4 to mean anything? And
if you are including model, would just including it as an OR
clause and boosting it work?
Perhaps a couple of examples of queries you'd like to run and how
you'd like boosting to influence the results would help....
Best
Erick
On Sun, Nov 8, 2009 at 9:37 PM, darniz <rn...@edmunds.com> wrote:
>
> hello
> i wanted to know if its possible to search on one field and provide
> boosting
> relevancy on other fields.
>
> For example if i have fields like make, model, description etc and all are
> copied to text field.
> So can i define a handler where i do a search on text field but can define
> relevancy models on make,model and description ie make^4 model^2
>
> Any advice.
> --
> View this message in context:
> http://old.nabble.com/using-different-field-for-search-and-boosting-tp26260479p26260479.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>