[Xapian-tickets] [Xapian] #50: SynonymPostList

Xapian nobody at xapian.org
Fri Apr 24 01:37:39 BST 2009


#50: SynonymPostList
-------------------------+--------------------------------------------------
 Reporter:  olly         |        Owner:  richard  
     Type:  enhancement  |       Status:  assigned 
 Priority:  low          |    Milestone:  1.1.1    
Component:  Library API  |      Version:  SVN trunk
 Severity:  minor        |   Resolution:           
 Keywords:               |    Blockedby:           
 Platform:  All          |     Blocking:  104, 307 
-------------------------+--------------------------------------------------

Comment(by richard):

 I've fixed the FLAG_PARTIAL stuff, clamped the wdf() to the doclength (if
 wdf is requested by the weight object) - and fixed several bugs in the
 wdf() calculation while I was at it.  I've also fixed a bug in the next()
 and skip_to() implementations - these were calling the subpostlist with
 the w_min() value supplied to the synonym, causing them to terminate early
 in some cases.  I've also extended the testsuite to cover these cases.

 The only missing bit now, I think is coverage for the missing line.
 Actually, we should probably check coverage for the patch as it stands now
 - my recent changes may have added some more lines which aren't covered.
 (XorPostList::get_wdf() is quite likely not to be covered, for example.)

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



More information about the Xapian-tickets mailing list