1. No, if IndexReader is on I get the same error message from checkindex
2. It doesnt do any thing but giving that error message I posted before then
quit. The full print of the error trace is:



Opening index @ E:\...\zookeeper\solr\collec
tion1\data\index

ERROR: could not read any segments file in directory
java.io.FileNotFoundException: E:\...\zookee
per\solr\collection1\data\index\segments_b5tb (The system cannot find the
file s
pecified)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:22
3)
        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:285)
        at
org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:347)
        at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:783)
        at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:630)
        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:343)
        at
org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:383)
        at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:1777)




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Fixing-corrupted-index-tp4126644p4126837.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to