[Xapian-tickets] [Xapian] #615: xapian-compact -m (multipass) trashes value 0 (chert 1.2.13)

Xapian nobody at xapian.org
Mon Feb 18 07:45:28 GMT 2013


#615: xapian-compact -m (multipass) trashes value 0 (chert 1.2.13)
---------------------------+------------------------------------------------
 Reporter:  mjy            |       Owner:  olly  
     Type:  defect         |      Status:  new   
 Priority:  normal         |   Milestone:        
Component:  Backend-Chert  |     Version:  1.2.13
 Severity:  normal         |    Keywords:        
Blockedby:                 |    Platform:  Linux 
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by mjy):

 The value 0 is a small floating point number (but often 1), stored with
 Search::Xapian::sortable_serialise() (Perl API), it is always set in my
 case:

 {{{
         $doc->add_value(0,
 Search::Xapian::sortable_serialise($x->{weight}));
 }}}

 It happened while merging 20 databases, but by deleting some while
 testing, I got the test case down to 6 (I didn't try further, it does take
 a while...).

 (I'll email you a link for the database ...)

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



More information about the Xapian-tickets mailing list