I am trying to debug an issue we are seeing with various deployments of solr with lucene 4.6
We are seeing many errors like: ERROR: could not read any segments file in directory java.nio.file.NoSuchFileException: /Users/ryan/Downloads/indexV2/v0/index/_ of.si The file listing looks like this: ... _oa_Lucene41_0.tim _oa_Lucene41_0.tip _ob.fdt _ob.fdx _ob.fnm _ob.nvd _ob.nvm _ob.si _ob_Lucene41_0.doc _ob_Lucene41_0.pos _ob_Lucene41_0.tim _ob_Lucene41_0.tip _of.nvd _of_Lucene41_0.doc _of_Lucene41_0.pos _of_Lucene41_0.tim _og.fdt _og.fdx _og.fnm .... Trying to run checkIndex (with latest /branch_4x lucene or the deployed lucene) gives an error like: ERROR: could not read any segments file in directory java.nio.file.NoSuchFileException: /Users/ryan/Downloads/indexV2/v0/index/_ of.si at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newFileChannel( UnixFileSystemProvider.java:177) at java.nio.channels.FileChannel.open(FileChannel.java:287) at java.nio.channels.FileChannel.open(FileChannel.java:334) at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:82) at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:114) at org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader.read( Lucene46SegmentInfoReader.java:49) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:346) at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:416) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run( SegmentInfos.java:864) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run( SegmentInfos.java:710) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:412) at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:393) at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:1967) any ideas? Any way to 'fix' this index? Any way to delete the whole segment? thanks ryan