My server was power loss and lucene index was corrupted. I runned IndexChecker but it fail:
java -cp /home/dthoai/programs/paesia/checker/lucene-core-3.5.0.jar -
It looks like the main directory file, segments_N is corrupted. This probably means that the power loss happened while a commit was running.
If this is the case, this means that there is some chance that an older segments_N file is present in your directory, and that the referenced segments are still present and valid. If there is such a file, try to remove your corrupted segments_ls0l
file and see:
Otherwise, there are some threads one Lucene user mailing-list talking about regenerating the segments_N file.
Make sure to backup your directory before performing any modification.