First, a core is a separate index so it is completely indipendent from the already existing core(s). So basically you don't need to reindex.

In order to have two cores (but the same applies for n cores): you must have in your solr.home the file (solr.xml) described here

http://wiki.apache.org/solr/Solr.xml%20%28supported%20through%204.x%29

then, you must obviously have one or two directories (corresponding to the "instanceDir" attribute). I said one or two because if the indexes configuration is basically the same (or something changes but is dynamically configured - i.e. core name) you can create two instances starting from the same configuration. I mean

<solr persistent="true" sharedLib="lib">
 <cores adminPath="/admin/cores">
  <core name="core0" instanceDir="*conf.dir*" />
  <core name="core1" instanceDir="*conf.dir*" />
 </cores>
</solr>

Otherwise you must have two different conf directories that contain indexes configuration. You should already have a first one (the current core), you just need to have another conf dir with solrconfig.xml, schema.xml and other required files. In this case each core will have its own instanceDir.

<solr persistent="true" sharedLib="lib">
 <cores adminPath="/admin/cores">
  <core name="core0" instanceDir="*conf.dir.core0*" />
  <core name="core1" instanceDir="*conf.dir.core1*" />
 </cores>
</solr>

Best,
Andrea



On 08/22/2013 04:04 PM, Bruno Mannina wrote:
Little precision, I'm on Ubuntu 12.04LTS

Le 22/08/2013 15:56, Bruno Mannina a écrit :
Dear Users,

(Solr3.6 + Tomcat7)

I use since two years Solr with one core, I would like now to add one another core (a new database).

Can I do this without re-indexing my core1 ?
could you point me to a good tutorial to do that?

(my current database is around 200Go for 86 000 000 docs)
My new database will be little, around 1000 documents of 5ko each.

thanks a lot,
Bruno





Reply via email to