[Xapian-tickets] [Xapian] #397: ChertPostListTable::get_doclength skips new documents after flush

Xapian nobody at xapian.org
Tue Sep 8 01:17:23 BST 2009


#397: ChertPostListTable::get_doclength skips new documents after flush
---------------------------+------------------------------------------------
 Reporter:  rlane          |       Owner:  olly
     Type:  defect         |      Status:  new 
 Priority:  normal         |   Milestone:      
Component:  Backend-Chert  |     Version:      
 Severity:  normal         |   Blockedby:      
 Platform:  All            |    Blocking:      
---------------------------+------------------------------------------------
 Chert's get_doclength sometimes skips documents, leading to Xapian
 throwing DocNotFound when retrieving the document for a search result.
 I've attached a testcase that passes with Flint and fails with Chert.
 Resetting doclen_pl on every call makes the problem go away, so a
 workaround might be to just reset it after a flush.

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



More information about the Xapian-tickets mailing list