lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <christu...@gmail.com>
Subject corrupted index Lucene 4.4
Date Wed, 23 Oct 2013 13:01:11 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message