[英]Solr core URL / Typo3
美好的一天,
我已經用Typo3提供的install-solr.sh
在Debian服務器上安裝了Solr 4.8。 在腳本之后,我在solr.xml
添加了一些額外的內核,並且管理界面顯示了它們正在運行。
問題是,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*
得到的響應似乎還可以,因此( don_nl
核心的)Solr URL為http://{host}:8080/solr/don_nl
但是在核心的URL中沒有任何內容,因為它只是核心的其他服務的基礎。 但是您可以將其用於Typo3配置。
如果要查看Solr GUI,請訪問http://{host}:8080/solr/
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.