Re: How to specify dismax boost based on rating

2011-12-05 Thread Erick Erickson
Have you considered specifying a boost function in your handler instead? See: http://wiki.apache.org/solr/DisMaxQParserPlugin#bf_.28Boost_Functions.29 Best Erick On Sun, Dec 4, 2011 at 12:43 AM, Zac Smith wrote: > Hi, > > I think this is a pretty common requirement so hoping someone can easily

How to specify dismax boost based on rating

2011-12-03 Thread Zac Smith
Hi, I think this is a pretty common requirement so hoping someone can easily point out the solution: I have an average rating field defined in my schema that is a tdouble and can be anything from 0 - 5 (including decimals). I am using dismax so I want to define a boost based on the average rat