[Xapian-devel] Bug in TermIterator::skip_to() ?

Pascal Beis pascal14641 at gmail.com
Sun Feb 27 11:49:21 GMT 2005


> I've found the problem.  When iterating allterms, quartz mishandles
> the case when skip_to finds an exact match by not updating the value
> returned by the iterator.  The position is changed, so in this case next
> will move you to the term after "amsterdam".
> 
> The attached patch should fix your test program.  I'll check it into CVS
> once I've written a regression test.  Thanks for reporting this bug!

Thanks! That area of code in Quartz looked suspiciously empty :-)

Cheers,

Pascal




More information about the Xapian-devel mailing list