Hi Shawn,
I do have persistent="true" in my solr.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="true">
  <cores adminPath="/admin/cores">
    <core name="default" instanceDir="./"/>
    <core name="413a" instanceDir="./"/>
    <core name="blah" instanceDir="./"/>
...
  </cores>
</solr>

the command I ran was to rename from '413' to '413a'. 

when i debug through solr CoreAdminHandler, I notice the persistent flag
only controls if the new data will be persisted to solr.xml or not, thus as
you can see, it did changed my solr.xml, there is no problem here.

But the index dir ends up with no change at all (still '413'). I guess swap
will have similar issue, I bet your 's0_0' directory actually hold data for
core s0build, and s0_1 holds data for s0live after you swap them. Because I
dont see anywhere in CoreAdminHandler and CoreContainer code actually rename
the index directory. I might be wrong, but you can test and find out.

Jie



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-3-5-core-rename-issue-tp4056425p4056435.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to