When is your build from? There was a bug fixed a couple weeks ago that sounds 
like this issue.

On Sep 13, 2011, at 4:04 AM, kelong wrote:

> Hi 
>     I create a new core dynamically with 
>     
> http://localhost:8983/solr/admin/cores?action=CREATE&name=mycore&collection=collection1&shard=shard2&instanceDir=.&dataDir=example2\solr\data
> 
>     Before creating the solr.xml is 
> 
>  <solr persistent="true">
>     <core name="collection1" instanceDir="." shard="shard1"/>
>     </cores>
>  </solr>
> 
>      After creating, the solr.xml becomes
>      
> <solr persistent="true">
>   <cores defaultCoreName="collection1" adminPath="/admin/cores" 
> zkClientTimeout="10000" hostPort="8983" hostContext="solr">
>     <core shard="shard2" instanceDir=".\" name="mycore" 
> dataDir="\example2\solr\data" collection="collection1"/>
>     <core shard="shard2" instanceDir=".\" name="mycore" 
> dataDir="\example2\solr\data" collection="collection1"/>
>   </cores>
> </solr>
> 
> the new core is added twice and the old one information is missed. Can any 
> one exmplain why this happens? Is there any error in my operation?
> 
> Thanks!

- Mark Miller
lucidimagination.com
2011.lucene-eurocon.org | Oct 17-20 | Barcelona











---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to