执行索引过程时,Solr 返回错误 #400 错误请求



我更改了 solr 中的信息.xml并监控.xml文件,重新索引并查看下一个

我的CMD:

D:solr-4.6.0solr-4.6.0exampleexampledocs>java -jar post.jar solr.xml monitor.xml
SimplePostTool version 1.5
Posting files to base url http://localhost:8983/solr/update using content-type application/xml..
POSTing file solr.xml
SimplePostTool: WARNING: Solr returned an error #400 Bad Request
SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 400 fo
r URL: http://localhost:8983/solr/update
POSTing file monitor.xml
SimplePostTool: WARNING: Solr returned an error #400 Bad Request
SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 400 fo
r URL: http://localhost:8983/solr/update
2 files indexed.
COMMITting Solr index changes to http://localhost:8983/solr/update..
Time spent: 0:00:00.061

之后,如果我做q=*:* - 我在这些文档中看不到新字段。

我做错了什么?

从日志来看,您似乎对驻留在/solr/example/exampledocs 文件夹中的 solr.xml/monitor.xml 文件进行了一些更改。您可以再次用solr中的原始文件替换该文件.zip

最新更新