Hi, I observed that the index becomes corrupted ("Read past EOF") after several updates and deletes. The reason was that the deletions file wasn't written out completely, if a bit was setted at the end of the underlying bitset and the DGaps format was used. I made a test case [1] as well as fix [2] and pushed them to the veit_working branch. I ported also the BitSet's test cases from JLucene. It would be nice, if someone can take look at it.
Veit [1] http://clucene.git.sourceforge.net/git/gitweb.cgi?p=clucene/clucene;a=commit;h=438ed30b4cf675c1db9c81fe70d75c95f8d3914b [2] http://clucene.git.sourceforge.net/git/gitweb.cgi?p=clucene/clucene;a=commit;h=e177028501096751fc889962b3c0ce90a5ac622c ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers