Re: update solr.xml error after create a new core

2011-09-13 Thread Mark Miller
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 
> 
>  
> 
> 
>  
> 
>  After creating, the solr.xml becomes
>  
> 
>zkClientTimeout="1" hostPort="8983" hostContext="solr">
>  dataDir="\example2\solr\data" collection="collection1"/>
>  dataDir="\example2\solr\data" collection="collection1"/>
>   
> 
> 
> 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



update solr.xml error after create a new core

2011-09-13 Thread kelong
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

* *
**
**
* *

 After creating, the solr.xml becomes


  


  


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!