--- On Mon, 2/27/12, Xiao <shinelee.thew...@gmail.com> wrote:
> From: Xiao <shinelee.thew...@gmail.com> > Subject: Customizing Solr score with DixMax query > To: solr-user@lucene.apache.org > Date: Monday, February 27, 2012, 5:59 AM > In my application logic, I want to > implement the ranking (scoring) logic as > follows: > > score = "Solr relecency score" * a_special_field_value. > > I tried to use DixMax to do this. My query statement is > q={!type=dixmax > qf='title content' bf=field1}data. However, when I open the > debugquery > option, I find that what Solr does is just a "sum of" of the > two scores, > i.e., the TF-IDF score and FunctionQuery score. But what I > want is to > multiple the two together. How can I implement the > multiplication operation? edismax has a boost parameter for this. q={!type=edixmax qf='title content' boost=field1}data