Hi Otis, Yes, it's reliable. You can safely move an entire data directory to another machine or another cluster (sharing conf) using scp, you'll then also copy over the index.properties file. You could also rename the directory from index.<NUMBER>/ to just index/ and remove the index.properties file and start the server again. It'll pick it up.
Cheers, Markus -----Original message----- > From:Otis Gospodnetic <otis.gospodne...@gmail.com> > Sent: Tue 22-Jan-2013 17:41 > To: solr-user@lucene.apache.org > Subject: Re: Shard index dir paths in Cluster state JSON? > > Thanks Markus. Yes, I'm after the actual, physical directory on the local > FS (local to wherever the shard lives). > > Is this information in index.properties reliable? Can't shards be moved > around in the cluster, say when a node that had some shard fails? When > this happens, is the new index directory for the shard(s) that got moved > updated in that index.properties? > > Thanks, > Otis > -- > Solr & ElasticSearch Support > http://sematext.com/ > > > > > > On Tue, Jan 22, 2013 at 10:44 AM, Markus Jelsma > <markus.jel...@openindex.io>wrote: > > > Hi Otis, > > > > I assume you're talking about the actual index directory? This is recorded > > in the index.properties file in the dataDir. > > > > Cheers, > > > > > > -----Original message----- > > > From:Otis Gospodnetic <otis.gospodne...@gmail.com> > > > Sent: Tue 22-Jan-2013 16:39 > > > To: solr-user@lucene.apache.org > > > Subject: Shard index dir paths in Cluster state JSON? > > > > > > Hi, > > > > > > I noticed Cluster state JSON doesn't include information about physical > > > directory for each shard in the cluster. Is there a reason for that? > > This > > > info is present in Solr Admin pages, but should it not be present in > > > Cluster state in ZK? > > > > > > Thanks, > > > Otis > > > -- > > > Solr & ElasticSearch Support > > > http://sematext.com/ > > > > > >