Problem with boosting function

2011-06-08 Thread Alex Grilo
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

Re: Problem with boosting function

2011-06-08 Thread Denis Kuzmenok
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

Re: Problem with boosting function

2011-06-08 Thread Yonik Seeley
The boost qparser should do the trick if you want a multiplicative boost. http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html -Yonik http://www.lucidimagination.com On Wed, Jun 8, 2011 at 9:22 AM, Alex Grilo a...@umamao.com wrote: Hi, I'm trying to use bf

Re: Problem with boosting function

2011-06-08 Thread Alex Grilo
The queries I am trying to do are q=title:Unicamp and q=title:Unicampbf=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...@ukr.net wrote: Show your full request to solr (all params)

Re: Problem with boosting function

2011-06-08 Thread Denis Kuzmenok
try: q=title:UnicampdefType=dismaxbf=question_count^5.0 title:Unicamp in any search handler will search only in requested field The queries I am trying to do are q=title:Unicamp and q=title:Unicampbf=question_count^5.0 The boosting factor (5.0) is just to verify if it was really used.