Niranjan created LUCENE-9127:
--------------------------------

             Summary: index migration from 7 to 8 failing
                 Key: LUCENE-9127
                 URL: https://issues.apache.org/jira/browse/LUCENE-9127
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
    Affects Versions: 8.4
            Reporter: Niranjan


we have been using solr4 for more than 16 year, now it is to time to upgrade, 
when we have decided to upgrade, started with migrating index from 4 -> 5, 5 -> 
6, 6 -> 7, it was working as expected, but when it comes to 7 -> 8 , it give me 
errors.
Exception in thread "main" org.apache.lucene.index.IndexFormatTooOldException: 
Format version is not supported (resource 
BufferedChecksumIndexInput(MMapIndexInput(path="/deploy/solrmaster/data/data/<name>/index/segments_4n"))):
 This index was initially created with Lucene 6.x while the current version is 
8.4.0 and Lucene only supports reading the current and previous major 
versions.. This version of Lucene only supports indexes created with release 
7.0 and later.
command I'm trying 
{noformat}
java -cp ./lucene-core-8.4.0.jar:./lucene-backward-codecs-8.4.0.jar 
org.apache.lucene.index.IndexUpgrader /deploy/solrmaster/data/data/job/index 
-verbose {noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to