I have a five node SolrCloud implementation running as a test with no 
replication using a three node zookeeper ensemble.  Admittedly, I'm new to Solr 
and just grinding it out.  Accidently re-initialized zookeeper with the wrong 
conf dir and I'm trying to recover.  I re-ran the initialization with the 
correct conf dir, but now the indexes are reporting 0 documents.  Logs also 
report that a new index was created in the dataDir called "index". Previous 
indexes where in a named directory based on slice/shard.  The previous indexes 
don't appear to have any issues, I just can't "re-point" the solr cores to 
them.  The Solr.xml file for one of the servers is:

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="true">
  <cores adminPath="/admin/cores" hostPort="8502">
    <core schema="schema.xml" shard="slice5" instanceDir="test_s5s1/" 
name="twitter_s5s1" config="solrconfig.xml" collection="test"/>
  </cores>
</solr>

I think I'm missing exactly what the instanceDir provides.  These were the 
directories created when I first set up the servers and where the indexes exist 
that I want to use.

Any thought? Or am I just completely off base here in my description of the 
issue.

Chris

Reply via email to