2012-04-22 93 views
0

缺少核心的路径名”我用:错误404:Solr中

//server.deleteByQuery("*:*");// CAUTION: deletes everything! 

查询我的Solr的索引程序。从那时起,我收到了错误,每当我去http://localhost:8080/solr/admin/

,按搜索与查询字符串

的错误是:

HTTP Status 400 - Missing solr core name in path

type Status report

message Missing solr core name in path

description The request sent by the client was syntactically incorrect (Missing solr core name in path).

Apache Tomcat/7.0.21

+1

[HTTP错误:404 solyr路径中缺少核心名称的可能重复](http://stackoverflow.com/questions/2213123/http-error-404-missing-core-name-in-path-with- solr) – kenorb 2016-03-20 23:32:56

回答

1

如果你去http://localhost:8080/solr/会发生什么。
你能检查你的solr.xml(在solr的根目录中)是否有已定义的内核。
此外,您可以检查solr home是否在您的WEB-INF/web.xml中定义。

检查出this similar question为一些相似和不同的解决方案。 和this one

+0

重新安装,错误消失了.. – CodeMonkey 2012-04-24 23:49:35