In the data/ directory there's frequently a .properties file that contains the 
name of the index.#### directory that solr is currently using. Most of the time 
you can safely delete all of the index.#### directories that aren't in the 
properties file. As an extra verification step you might want to run `lsof` and 
grep for the index.#### directories your considering removing prior to removal 
to see if the solr process currently has any files in the directory open.

Thanks,
Greg

On Apr 22, 2014, at 4:38 PM, solr2020 <psgoms...@gmail.com> wrote:

> Hi,
> 
> We have a solrcloud where we have one shard and four replicas.We know that
> Solr will create an index backup when something happens inside solrcloud. So
> data directory contains more than one index folders. like
> 
> snapshot.20130920231746353
> index.20130712112751477
> index.2013.......
> 
> So after some time these extra files could be deleted?. how to identify the
> current/actual index directory.This delete would impact anything?. Please
> suggest.
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-data-directory-contains-index-backups-tp4132590.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to