You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Chris Lu <ch...@gmail.com> on 2005/03/19 06:34:40 UTC
how to detect index integrity?
Hi,
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
Being able to verify the index's integrity will prevent nightmare like
this: http://java2.5341.com/msg/73077.html
Chris