[Xapian-tickets] [Xapian] #307: OP_SYNONYM should allow field weights to be set on its members

Xapian nobody at xapian.org
Wed Oct 22 09:04:08 BST 2008


#307: OP_SYNONYM should allow field weights to be set on its members
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  richard 
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:  1.1.0   
Component:  Matcher      |     Version:  SVN HEAD
 Severity:  normal       |   Blockedby:          
 Platform:  All          |    Blocking:          
-------------------------+--------------------------------------------------
 Currently, OP_SYNONYM simply adds up the wdfs of the member terms to
 calculate the wdf of the resulting item.  However, it might be useful to
 allow OP_SYNONYM to be told to modify the wdfs of the member terms (using
 an integer muliplier).  This would correspond functionally to the "weight"
 function implemented in scriptindex, which allows the weight of a field to
 be modified at index time by multiplying the wdf, but would allow the
 weights to be adjusted at search-time without requiring a re-index.

 I'm not sure where in the API this would fit, but it's something to
 consider before merging the OP_SYNONYM branch to trunk.

-- 
Ticket URL: <http://trac.xapian.org/ticket/307>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list