You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jarus <he...@gmail.com> on 2015/09/17 11:30:34 UTC

Opening Lucene's 4.3 index with Lucene 5.3

Hi

While trying to open Lucene's 4.3 index with Lucene 5.3; I get the following
error:

java.nio.file.NoSuchFileException: 1441701798/_by.cfs
	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:335)
	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:236)
	at
org.apache.lucene.codecs.lucene40.Lucene40CompoundReader.<init>(Lucene40CompoundReader.java:76)
	at
org.apache.lucene.codecs.lucene40.Lucene40CompoundFormat.getCompoundReader(Lucene40CompoundFormat.java:43)
	at
org.apache.lucene.index.IndexWriter.readFieldInfos(IndexWriter.java:1015)
	at
org.apache.lucene.index.IndexWriter.getFieldNumberMap(IndexWriter.java:1032)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:937)


The file _by.cfs.dz is present in the directory, but seems that Lucene's
indexwriter cannot open dzipped file. 



--
View this message in context: http://lucene.472066.n3.nabble.com/Opening-Lucene-s-4-3-index-with-Lucene-5-3-tp4229708.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org