On 2/27/2014 7:45 AM, Cynthia Park wrote:
I may have missed this but, how do you specify a default core when using
the new-style
for the solr.xml? When I view the status of my Solr core setup (
http://localhost:8983/solr/admin/cores?action=STATUS) I see a
isDefaultCore speficiation
but, i'm not sure where it can from and and where it's located so that it
may be changed.  <bool name="isDefaultCore">false</bool>

Also when viewing the status I see:
<str name="defaultCoreName">collection1</str>

I thought that defaultCoreName was not supported when using the new-style
for solr.xml?  Also, not sure why it picked up the value "collection1" as I
did not specify a default core.

As far as I am aware, you can't specify the default core with the new solr.xml format. The default is hard-coded to what's in the example - collection1. If you happen to have a core named collection1, it will work without a core name in the URL.

There is a *LOT* of documentation out there that needs udpdating. This includes Solr documentation itself as well as third-party documentation, howtos, blog posts, etc.

I would prefer if everyone included the core name in every request, but I suspect that inertia is probably going to dictate that we allow people to use the defaultCoreName option again. I don't like it, but that may be the reality of the situation.

Thanks,
Shawn

Reply via email to