tags:

views:

1240

answers:

2

Hi, I am new to Solr, After installing solr in ubuntu 8.10 ,when i was trying exampledocs to index ,as per this link http://geekblog.vodpod.com/2009/03/09/using-solr-lucene-for-search-with-ruby-on-rails/

i got this error "HTTP ERROR: 404 missing core name in path"(in jetty)

what shall i do, inorder to solve this?

pls help me. Thanks in advance

+1  A: 

You probably have a multi-core setup and haven't included the core in the URL. e.g. instead of requesting http://localhost:8983/solr/select/?q=*%3A* you have to request http://localhost:8983/solr/MyCoreName/select/?q=*%3A*

Mauricio Scheffer
Hi Mauricio Scheffer,sorry for late response.How do i find out whether i have multicore setup or not?Is this something to do with multicore folder.when i tried http://localhost:8983/solr/admin/ I got this again HTTP ERROR: 404 missing core name in path
kshama
See if you have a solr.xml file in your solr.home. It will have a line like `<core name="MyCoreName" instanceDir="core0" />`
Mauricio Scheffer
yes,i found it.thank you;Actually i am trying dataimport as inhttp://wiki.apache.org/solr/DataImportHandler#datasource(uses hsqldb) But my database is mysql ,In db-dat-config.xml i have to usedatasource url="jdbc:mysql:./example-DIH/mysql/ex how do i get ex files as in hsqldb?when i used http://localhost:8983/solr/am getting http 500 Severe errors in solr configuration Is this because of mysql/ex ?
kshama
I have no idea but that's another question altogether. Please include the whole error message in the new question.
Mauricio Scheffer
A: 

If you just browse to http://localhost:8983/solr/ you will see all cores listed (at least that did it for me).

jtietema