从Neo4j 2.3.12升级到Neo4j 3.5.1时,抛出了错误。我遵循了所有步骤(https://neo4j.com/docs/operations-manual/current/upgrade/),但仍然遇到问题
Caused by: java.io.IOException: Explicit index migration failed.
at org.neo4j.kernel.impl.storemigration.participant.ExplicitIndexMigrator.migrateExplicitIndexes(ExplicitIndexMigrator.java:127)
at org.neo4j.kernel.impl.storemigration.participant.ExplicitIndexMigrator.migrate(ExplicitIndexMigrator.java:78)
at org.neo4j.kernel.impl.storemigration.StoreUpgrader.migrateToIsolatedDirectory(StoreUpgrader.java:223)
... 20 more
Caused by: org.neo4j.upgrade.lucene.ExplicitIndexMigrationException: Migration of explicit index at path:/Users/rahulkulhari/Downloads/neo4j-community-3.5.1/data/databases/graph.db/upgrade/index/lucene/node/vertex failed.
at org.neo4j.upgrade.lucene.LuceneExplicitIndexUpgrader.upgradeIndexes(LuceneExplicitIndexUpgrader.java:116)
at org.neo4j.kernel.impl.storemigration.participant.ExplicitIndexMigrator.migrateExplicitIndexes(ExplicitIndexMigrator.java:121)
... 22 more
Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="/Users/rahulkulhari/Downloads/neo4j-community-3.5.1/data/databases/graph.db/upgrade/index/lucene/node/vertex/segments_1"))): -11 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 4.0 and later.
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:299)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:493)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:490)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:683)
at org.apache.lucene.index.SegmentInfos.readLatestCommit(SegmentInfos.java:490)
at org.apache.lucene.index.DirectoryReader.listCommits(DirectoryReader.java:257)
at org.apache.lucene.index.IndexUpgrader.upgrade(IndexUpgrader.java:158)
at org.apache.lucene.index.IndexUpgrader.main(IndexUpgrader.java:78)
at org.neo4j.upgrade.lucene.IndexUpgraderWrapper.upgradeIndex(IndexUpgraderWrapper.java:66)
at org.neo4j.upgrade.lucene.LuceneExplicitIndexUpgrader.upgradeIndexes(LuceneExplicitIndexUpgrader.java:111)
... 23 more
2018-12-26 12:45:30.575+0000 INFO Neo4j Server shutdown initiated by request
我试图为索引设置不同的不同配置,
Available index providers: [fulltext-1.0, native-btree-1.0, lucene+native-2.0, lucene+native-1.0, lucene-1.0].
但是仍然抛出错误。有解决方案吗?