[Xapian-tickets] [Xapian] #524: dynamic weight

Xapian nobody at xapian.org
Mon Jan 10 00:38:33 GMT 2011


#524: dynamic weight
-----------------------+----------------------------------------------------
 Reporter:  saridemir  |       Owner:  olly             
     Type:  defect     |      Status:  new              
 Priority:  normal     |   Milestone:                   
Component:  Other      |     Version:                   
 Severity:  normal     |    Keywords:                   
Blockedby:             |    Platform:  Microsoft Windows
 Blocking:             |  
-----------------------+----------------------------------------------------

Comment(by olly):

 It sounds like what you're '''really''' wanting is for the document length
 not to affect the weights - if so, the best way to achieve that is to
 simply set the weighting scheme parameters appropriately:

 {{{
     enquire.set_weighting_scheme(new Xapian.BM25Weight(1, 0, 1, 0, 0.5));
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/524#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list