Each of those data dirs is relative to the instance in question.

So if you're running on different machines, they're physically
separate even though named identically.

If you're running multiple nodes on a single machine a-la the
getting started docs, then each one is in it's own directory
(e.g. solr/node1, solr/node2) and since the dirs are relative
to that directory, you get things like
..solr/node1/solr/gettingstarted_shard1_replica1/data
..solr/node2/solr/gettingstarted_shard1_replica1/data

etc.

Best,
Erick

On Fri, Nov 7, 2014 at 5:26 AM, Michal Krajňanský
<michal.krajnan...@gmail.com> wrote:
> Hi Everyone,
>
>
> I am quite a bit confused about managing configuration files with Zookeeper
> for running Solr in cloud mode.
>
> To be precise, I was able to upload the config files (schema.xml,
> solrconfig.xml) into the Zookeeper and run Solrcloud.
>
> What confuses me are properties like "data.dir", or replication request
> handlers. It seems like these should be different for each of the servers
> in the cloud. So how does it work?
>
> (I did google to understand the matter unsuccessfully.)
>
>
> Best,
>
> Michal

Reply via email to