Solr 核心 URL / Typo3

Solr core URL / Typo3

晚安,

我已经使用 Typo3 提供的 install-solr.sh 在 Debian 服务器上安装了 Solr 4.8。在脚本之后我向 solr.xml 添加了一些额外的核心并且管理员 UI 显示它们,它们是 运行.

问题是,Typo3 需要一个 url(路径)来连接到 solr。他们在互联网上到处都说 http://{host}:{port}/solr/{core}。每当我将其放入浏览器 (http://{host}:8080/solr/don_nl/) 时,它都会显示 404。

我是不是在配置 solr 的时候忘记了什么?

内容solr.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="false">
    <cores adminPath="/admin/cores">
        <core name="core_en" instanceDir="typo3cores" schema="english/schema.xml" dataDir="data/core_en" />
        <core name="core_nl" instanceDir="typo3cores" schema="dutch/schema.xml" dataDir="data/core_nl" />
        <core name="core_de" instanceDir="typo3cores" schema="dutch/schema.xml" dataDir="data/core_de" />
        <core name="don_nl" instanceDir="typo3cores" schema="dutch/schema.xml" dataDir="data/don_nl" />
        <core name="wow_nl" instanceDir="typo3cores" schema="dutch/schema.xml" dataDir="data/wow_nl" />
    </cores>
</solr>

编辑

每当我转到:http://{host}:8080/solr/don_nl/select/?q=*%3A*,我都会收到以下回复。

{
  "responseHeader":{
    "status":0,
    "QTime":31,
    "params":{
      "q":"*:*"}},
  "response":{"numFound":0,"start":0,"docs":[]
  }}

Typo3 Solr 配置:

plugin.tx_solr {
    solr {
            scheme = http
            host = **********
            port = 8080
            path = /solr/don_nl/
        }

这是结果(在报告中)。

您从 http://{host}:8080/solr/don_nl/select/?q=*%3A* 得到的响应似乎没问题,所以 Solr URL(属于 don_nl 核心)是 http://{host}:8080/solr/don_nl - 但有在核心的 URL 中没有什么可看的,因为它只是核心其他服务的基础。但您可以将其用于 Typo3 配置。

如果您想查看 Solr GUI,请转至 http://{host}:8080/solr/