lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Grilo <a...@umamao.com>
Subject Re: Problem with boosting function
Date Wed, 08 Jun 2011 13:57:16 GMT
The queries I am trying to do are
q=title:Unicamp

and

q=title:Unicamp&bf=question_count^5.0

The boosting factor (5.0) is just to verify if it was really used.

Thanks

Alex

On Wed, Jun 8, 2011 at 10:25 AM, Denis Kuzmenok <forward_ua@ukr.net> wrote:

> Show your full request to solr (all params)
>
> > Hi,
> > I'm trying to use bf parameter in solr queries but I'm having some
> problems.
>
> > The context is: I have some topics and a integer weight of popularity
> > (number of users that follow the topic). I'd like to boost the documents
> > according to this weight field, and it changes (users may start following
> or
> > unfollowing that topic). I through the best way to do that is adding a bf
> > parameter to the query.
>
> > First of all I was trying to include it in a query processed by a default
> > SearchHandler. I debugged the results and the scores didn't change. So I
> > tried to change the defType of the SearchHandler to dismax (I didn't add
> any
> > other field in solrconfig), and queries didn't work anymore.
>
> > What is the best way to achieve what I want? Do I really need to use a
> > dismax SearchHander (I read about it, and I don't want to search in
> multple
> > fields - I want to search in one field and boost in another one)?
>
> > Thanks in advance
>
> > Alex Grilo
>
>
>

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