Обновление с Neo4j 2.3 до Neo4j 3.5 - PullRequest
0 голосов
/ 26 декабря 2018

При обновлении с 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].

Но все равно выдает ошибку. Любое решение?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...