0

I would like to have several cores in SOLR 5.0 sharing the same schema.xml and solrconfig.xml file but have their own db-data-config.xml file.

I have tried different approaches like Config Sets - But here I can’t exclude db-data-config.xml. Changing the path in core.properties. Here SOLR can’t read from parent directory ../schema.xml

The platform is Windows

Any ideas?

MacGyver
  • 6,579
  • 1
  • 18
  • 11

1 Answers1

0

what about choosing one particular core as the canonical one 'coreMain' and then doing:

ln -s /path/to/coreMain/conf/schema.xml /path/to/coreA/conf/schema.xml
Persimmonium
  • 15,593
  • 11
  • 47
  • 78
  • I read about those symlinks - Maybe this is the only solution. I'm on Windows but it seems like symlinks would work here too. I'll let you know – MacGyver May 06 '15 at 16:22
  • 1
    oh, I assumed you were on linux, most people deploy Solr on linux. But modern Windows have symlinks too,see mklink – Persimmonium May 06 '15 at 17:38