lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Rao" <r...@alterpoint.com>
Subject RE: how to detect index integrity?
Date Mon, 21 Mar 2005 16:36:21 GMT
> From: chris.lu@gmail.com
> Sent: Fri 3/18/2005 11:34 PM

> Is there any way to detect the index's integrity?
> Sometimes I came upon exceptions like these. If it happens, my only way 
> is to delete the corrupted index.

>    * Exception in thread "main" java.io.IOException : read past EOF
>    * java.lang.ArrayIndexOutOfBoundsException

> [ ... ]

I did too, which is why I wrote NullDirectory.  You can find the
sources and a description in bugzilla.

   http://issues.apache.org/bugzilla/show_bug.cgi?id=33851

Look at the tests for examples of use.  I would value your feedback.
-- 
Ravi/


Mime
View raw message