[Xapian-tickets] [Xapian] #363: Avoid using the termlist when calculating percentages in get_mset()

Xapian nobody at xapian.org
Wed Jul 8 16:04:12 BST 2009


#363: Avoid using the termlist when calculating percentages in get_mset()
---------------------+------------------------------------------------------
 Reporter:  richard  |       Owner:  olly     
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  1.1.3    
Component:  Matcher  |     Version:  SVN trunk
 Severity:  normal   |    Keywords:           
Blockedby:           |    Platform:  All      
 Blocking:  181      |  
---------------------+------------------------------------------------------
Changes (by olly):

  * owner:  richard => olly
  * status:  assigned => new


Comment:

 I've had an idea...

 We could just count the number of matching leaves and divide by the
 (original) total to get the factor to scale down the top match by.  This
 isn't quite as good as the current approach, which scales down by more if
 a higher scoring term is missing, but it's simpler, and percentages are
 rather arbitrary anyway.  We also suspected they are less popular than
 they were.

 Having a look at this idea, so reassigning the bug, at least for now.

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



More information about the Xapian-tickets mailing list