Well, if it is for creating a *new* core, Solr doesn't know it is pointing to your shared conf directory until after you create it, does it?
JRJ -----Original Message----- From: Gérard Dupont [mailto:ger.dup...@gmail.com] Sent: Wednesday, August 31, 2011 8:17 AM To: solr-user@lucene.apache.org Subject: Re: core creation and instanceDir parameter up ! No-one have any clue about this question ? Is it more a dev-related question ? 2011/8/26 Gérard Dupont <ger.dup...@gmail.com> > Hi all, > > Playing with multicore and dynamic creation of new core, I found out that > there is one mandatory parameter "instanceDir" which is mandaotry to find > out the location of solrconfig.xml and schema.xml. Since all my cores share > the same configuration (found realtively to the $SOLR_HOME defined on server > side) and that all data is saved in the same folder (one sub-folder per > core), I was wandering why do we still need to send this parameter? In my > configuration, I would like to avoid that the client, which ask for core > creation, need to be aware of instance location on the server. > > BTW I'm on solr 3.3.0 > > Thanks for any advice. > > -- > Gérard Dupont > Information Processing Control and Cognition (IPCC) > CASSIDIAN - an EADS company > > Document & Learning team - LITIS Laboratory > > -- Gérard Dupont Information Processing Control and Cognition (IPCC) CASSIDIAN - an EADS company Document & Learning team - LITIS Laboratory