首页 > 解决方案 > 将 SOLR 6.0 升级到 8.9

问题描述

我正在尝试将 SOLR 从第 6 版跳到第 8 版(6.0.0 -> 8.9.0)

问题是:我想避免重新索引 CORS,所以我备份了 CORS 文件夹“/conf”和“/data”,升级后,我将文件夹替换为以前的数据。它从 SOLR 7 到 8 运行良好。

但是从版本 6.0.0 到 8.9.0 我收到以下错误:

Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr/{core-example}: SolrCore '{core-example}' is not available due to init failure: Error opening new searcher
        at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:575)
        at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
        at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
        at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:150)
        at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:167)
        at com.e7solutions.solr.indexer.fields.FieldsUtil.getNames(FieldsUtil.java:100)
        at com.e7solutions.solr.indexer.indexers.TypeIndexer.loadExistingFields(TypeIndexer.java:319)
        at com.e7solutions.solr.indexer.indexers.TypeIndexer.addNewFieldsToSolr(TypeIndexer.java:252)
        at com.e7solutions.solr.indexer.indexers.TypeIndexer.indexPrimaryAttributes(TypeIndexer.java:171)
        at com.e7solutions.solr.indexer.indexers.TypeIndexer.index(TypeIndexer.java:119)
        at com.e7solutions.solr.indexer.indexers.MedicalIndexer.index(MedicalIndexer.java:158)
        at com.e7solutions.solr.indexer.SolrIndexer.main(SolrIndexer.java:86)   

各位对此有什么见解吗?

非常感谢你。

标签: solr

解决方案


推荐阅读