You should put your solr.xml into your 'cores' directory, and set -Dsolr.solr.home=cores
That should get you going. 'cores' *is* your Solr Home. Otherwise, your instanceDir entries in your current solr.xml will need correct paths to ../cores/procedure/ etc. Upayavira On Tue, Jan 15, 2013, at 08:52 AM, Bruno Dusausoy wrote: > Hi, > > I'd like to use two separate indexes (Solr 3.6.1). > I've read several wiki pages and looked at the multicore example bundled > with the distribution but it seems I missing something. > > > I have this hierarchy : > solr-home/ > | > -- conf > | > -- solr.xml > -- solrconfig.xml (if I don't put it, solr complains) > -- schema.xml (idem) > -- ... > | > -- cores > | > -- dossier > | > -- conf > | > -- dataconfig.xml > -- schema.xml > -- solrconfig.xml > | > -- data > | > -- procedure > | > -- conf > | > -- dataconfig.xml > -- schema.xml > -- solrconfig.xml > | > -- data > > Here's the content of my solr.xml file : > http://paste.debian.net/224818/ > > And I launch my servlet container with > -Dsolr.solr.home=my-directory/solr-home. > > I've put nearly nothing in my solr-home/conf/schema.xml so Solr > complains, but that's not the point. > > When I go to the admin of core "dossier", > http://localhost:8080/solr/dossier/admin, the container says it doesn't > exist. > But when I go to http://localhost:8080/solr/admin it finds it, which > makes me guess that Solr is stil in "single core" mode. > > What am I missing ? > > Regards. > -- > Bruno Dusausoy > Software Engineer > YP5 Software > -- > Pensez environnement : limitez l'impression de ce mail. > Please don't print this e-mail unless you really need to.