I removed the string "collection1" from my solr.xml file in solr home and
modified my solr.xml file as follows:

  <cores adminPath="/admin/cores" defaultCoreName="foobar1" host="${host:}"
hostPort="${jetty.port:}" zkClientTimeout="${zkClientTimeout:15000}">
    <core name="foobarcorename" instanceDir="." />
  </cores>
Then I restarted Solr.

However, I keep getting messages about
"Can't find resource 'solrconfig.xml' in classpath or
'/l/solrs/dev/solrs/4.0/1/collection1/conf/'"
And the log messages show that Solr is trying to create the collection1
instance

"Aug 23, 2012 12:06:02 PM org.apache.solr.core.CoreContainer create
INFO: Creating SolrCore 'collection1' using instanceDir:
/l/solrs/dev/solrs/4.0/3/collection1
Aug 23, 2012 12:06:02 PM org.apache.solr.core.SolrResourceLoader <init>"
I think somehow the previous solr.xml configuration is being stored on disk
somewhere and loaded.

Any clues?

Tom

Reply via email to