lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Chan <rc...@i-tao.com>
Subject multicore defaultCoreName not working
Date Wed, 13 Oct 2010 07:20:15 GMT
Hello 

I have this in my solr.xml

<solr persistent="true" sharedLib="lib">
  <cores adminPath="/admin/cores" defaultCoreName="live">
    <core name="live" instanceDir="core0" />
    <core name="staging" instanceDir="core1" />
  </cores>
</solr>


admin is working and the individual cores are working through

http://localhost:8080/solr/live/select/?q=abc
and
http://localhost:8080/solr/staging/select/?q=abc

returning the correct results from the right core

however, I wanted to keep the existing single core URLs and thought that the defaultCoreName
attribute does this

i.e.
http://localhost:8080/solr/select/?q=abc

should give me the "live" core

but it gives me "Missing core name in path"

Is there anything else I need to do?

Thanks
Ron

Mime
View raw message