Re: IndexFormatTooOldException

2024-12-19 Thread Ian Lea
Thanks Adrien. Looks to be exactly what I need. -- Ian. On Thu, Dec 19, 2024 at 1:27 PM Adrien Grand wrote: > Hi Ian, > > Indeed Lucene has been maintaining read-only support for 8.x indices > lately, see this method which lets you opt in for this: > > https://lucene.apache.org/core/10_0_0/co

Re: IndexFormatTooOldException

2024-12-19 Thread Adrien Grand
Hi Ian, Indeed Lucene has been maintaining read-only support for 8.x indices lately, see this method which lets you opt in for this: https://lucene.apache.org/core/10_0_0/core/org/apache/lucene/index/DirectoryReader.html#open(org.apache.lucene.index.IndexCommit,int,java.util.Comparator) . So if y

IndexFormatTooOldException

2024-12-19 Thread Ian Lea
Hi On trying to open an old index using lucene 10.0.0 I'm getting this exception: Exception in thread "main" org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MemorySegmentIndexInput(path="/whatever.../segments_3"))): This ind

RE: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Uwe Schindler
ilto:u...@thetaphi.de] > Sent: Tuesday, June 16, 2015 11:35 AM > To: java-user@lucene.apache.org > Subject: RE: IndexFormatTooOldException while upgrading Lucene 4.10 index > to 5.2 > > Hi, > > you need to add the JAR file lucene-backward-codec.jar to the classpath (or > a

Re: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Michael McCandless
Indeed DirectDocValuesFormat had a back-compat break between 4.x and 5.x ... this is expected/allowed (it is an experimental format). You should be able to do something like this to more forwards: * In 4.x, open a new IndexWriter, using the default Codec (which is back-compat) * Use addIndex

RE: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Uwe Schindler
; From: Sven Teichmann [mailto:s.teichm...@s4ip.de] > Sent: Tuesday, June 16, 2015 10:34 AM > To: java-user@lucene.apache.org > Subject: IndexFormatTooOldException while upgrading Lucene 4.10 index to > 5.2 > > Today I tried to upgrade a Lucene 4.10 index to 5.2 using the IndexUpg

IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Sven Teichmann
Today I tried to upgrade a Lucene 4.10 index to 5.2 using the IndexUpgrader. This throws the following exception: Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy$MergeException: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (re

IndexFormatTooOldException

2015-05-04 Thread Patrick Herber
search stops to work and I get this IndexFormatTooOldException. Do you have an idea what could be the cause of this problem? Thanks for your help! Patrick