CKAN可以支持Solr 7.0吗?

Kev*_*Cui 2 apache solr jetty ckan ubuntu-16.04

我正在尝试在Ubuntu 16.04中安装Solr 7.0和CKAN 2.7.2。但是,出现以下错误

从Solr管理员网站:

ckan:org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:无法为核心ckan加载conf:无法加载架构/var/solr/data/ckan/conf/schema.xml:自Solr 7开始不支持在架构中设置defaultSearchField

在启动数据库时从CKAN安装:

Solr响应错误(HTTP 404):[原因:未找到错误404]

所以我想知道CKAN是否可以支持最新版本的Solr。当前,CKAN 2.7.2可以通过Jetty8支持Solr 4.6。

lfu*_*ini 6

经过一些修改,并以CKAN为起点使用了有关Solr 6.5的页面,我设法在Ubuntu 18.04中将CKAN 2.8与Solr 7.4结合使用:

1)在CKAN .ini配置文件中,solr_url必须包含核心名称,否则对Solr的CKAN调用将失败(SearchError:SOLR返回了运行查询的错误... [原因:未找到错误404] ...

例如Solr核心名称solr_url = http://127.0.0.1:8983/solr/ckan/在哪里ckan

2)在xml Solr模式中,替换

<defaultSearchField>text</defaultSearchField>
<solrQueryParser defaultOperator="AND"/>
Run Code Online (Sandbox Code Playgroud)

<df>text</df>
<solrQueryParser q.op="AND"/>
Run Code Online (Sandbox Code Playgroud)

因为这些特性已被弃用(12