You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "samuel ma (Jira)" <ji...@apache.org> on 2021/07/08 08:29:00 UTC

[jira] [Commented] (LUCENE-9127) index migration from 7 to 8 failing

    [ https://issues.apache.org/jira/browse/LUCENE-9127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377204#comment-17377204 ] 

samuel ma commented on LUCENE-9127:
-----------------------------------

[~erickerickson],

We have some 5/6x version index, and use IndexUpgrader to 7x, now we have this issue to upgrade to 8x. One question is: if we force to ignore this IndexFormatTooOldException, do you know is there any incompatible issues?

> 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
>            Priority: Major
>
> 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.
> {noformat}
>  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.{noformat}
> {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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org