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

Xapian nobody at xapian.org
Fri Apr 24 03:21:39 BST 2009


#307: OP_SYNONYM should allow field weights to be set on its members
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  richard  
     Type:  enhancement  |      Status:  assigned 
 Priority:  normal       |   Milestone:  1.1.1    
Component:  Matcher      |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:  50           |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by olly):

 I think the only sane way for this to work is for the multipliers to be
 real numbers in the range (0,1] - then you sum the wdfs multiplied by
 these and clamp to the nearest integer.  This could also perhaps help
 handle the "term occurs more than once" issue - count the occurrences up
 of each term front, then scale the scale factors for each occurrence of a
 term by 1/number_of_occurences_of_that_term.  Not an ideal solution
 though, I feel, but perhaps
 the best there is.

 Aside from facilitating that potential fix, I'm not clear what this is
 useful for ("it might be useful" seems the only justification), so I'm
 inclined to WONTFIX too, unless/until we have some compelling uses for
 this.

 I don't think this needs to block a merge anyhow.

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



More information about the Xapian-tickets mailing list