You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris <ch...@gmail.com> on 2013/10/23 04:00:03 UTC
Solr Index corrupted...
Hi,
I am running solr 4.4 & one of my collections seems to have a corrupted
index...
I tried doing -
java -cp lucene-core-4.4.0.jar -ea:org.apache.lucene...
org.apache.lucene.index.CheckIndex /solr2/example/solr/w1/data/index/ -fix
But it didnt help...gives -
ERROR: could not read any segments file in directory
java.io.FileNotFoundException:
/solr2/example/solr/w1/data/index/segments_hid (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:318)
at
org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:380)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:812)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:663)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:376)
at
org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:382)
at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:1854)
Please help.
Chris