簡體   English   中英

如何將現有核心添加到本地的 solr 搜索中

[英]how to add existing core to the solr search in local

如何在服務器上配置的本地機器中添加核心? 我將我的核心移動到“solr”目錄下,但在 solr 面板(本地主機:8983)中不可見。

當我嘗試創建一個具有相同名稱的新的時,我收到一個錯誤,即核心已經存在。 之后,我的核心名稱顯示在 solr 面板中,但無法使用“/dataimport”導入數據。 它顯示以下響應但未獲取任何記錄。

{
"responseHeader": {
                  "status": 0,
                  "QTime": 3
                  },
"initArgs": ["defaults",["config","db-data-config.xml"]],
"command": "status",  
"status": "busy",
"importResponse": "A command is still running...",
"statusMessages": {
"Time Elapsed": "0:0:0.5",
"Total Requests made to DataSource": "0",
"Total Rows Fetched": "0",
"Total Documents Processed": "0",
"Total Documents Skipped": "0",
"Full Dump Started": "2020-02-19 06:13:20" 
}}

但是“執行查詢”中沒有顯示記錄。 是否有任何文檔可以將現有核心添加到另一個 solr 搜索中?

你的 solr.xml 里有嗎? 只有 solr.xml 中列出的內核才會在內核列表中可見。

或者您可以通過 GUI 添加核心

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM