solr - 将 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)
各位对此有什么见解吗?
非常感谢你。
解决方案
推荐阅读
- python - PHP调用python脚本但不返回结果
- python - AttributeError: 'SimpleImputer' 对象没有属性 'mean'
- ios - 在弹出视图控制器快速故事板解除后更新 tableView
- linux-kernel - 为什么 `native_write_msr` 支配我的分析结果?
- cmake - cmake,将外部程序的结果作为预处理器定义传递
- c - 在 printf 中使用“%e”时是否需要使用“.6”精度说明符?
- python - 在 Python 的袖扣中使用带有键的列表以获得最佳拟合线
- ios - SwiftUI DragGesture onEnded 在某些情况下不会触发
- c# - 减少 C# 中的 Foreach 循环
- javascript - React native 需要一个字符串(用于内置组件)或一个类/函数(用于复合组件),但得到:object