You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vasuj <va...@live.in> on 2012/04/23 01:58:33 UTC

'Error 404: missing core name in path' in Solr

I http://lucene.472066.n3.nabble.com/file/n3931194/Screenshot_%2847%29.png 
used

//server.deleteByQuery( "*:*" );// CAUTION: deletes everything!
query in my solr indexing program. Since then i am receiving the error
whenever , i go to

http://localhost:8080/solr/admin/

and press search with query string :

The error is

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

--
View this message in context: http://lucene.472066.n3.nabble.com/Error-404-missing-core-name-in-path-in-Solr-tp3931194p3931194.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: 'Error 404: missing core name in path' in Solr

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,

Perhaps your search server uses a multi core setup? In that case you need your core name as part of the URL
http://wiki.apache.org/solr/CoreAdmin#Example

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 23. apr. 2012, at 01:58, vasuj wrote:

> I http://lucene.472066.n3.nabble.com/file/n3931194/Screenshot_%2847%29.png 
> used
> 
> //server.deleteByQuery( "*:*" );// CAUTION: deletes everything!
> query in my solr indexing program. Since then i am receiving the error
> whenever , i go to
> 
> http://localhost:8080/solr/admin/
> 
> and press search with query string :
> 
> The error is
> 
> 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
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Error-404-missing-core-name-in-path-in-Solr-tp3931194p3931194.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Re: 'Error 404: missing core name in path' in Solr

Posted by Dan Tuffery <da...@gmail.com>.
Looks like you need to select a core name on the admin UI before select
search. Have a look in the solr.xml file in your solr home directory, what
cores are defined?

Solr is expecting the core name in the URL:

http://localhost:8080/solr/<CORENAME>/admin/<http://localhost:8080/solr/admin/>



On Mon, Apr 23, 2012 at 12:58 AM, vasuj <va...@live.in> wrote:

> I http://lucene.472066.n3.nabble.com/file/n3931194/Screenshot_%2847%29.png
> used
>
> //server.deleteByQuery( "*:*" );// CAUTION: deletes everything!
> query in my solr indexing program. Since then i am receiving the error
> whenever , i go to
>
> http://localhost:8080/solr/admin/
>
> and press search with query string :
>
> The error is
>
> 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
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Error-404-missing-core-name-in-path-in-Solr-tp3931194p3931194.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>