lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Moving to SolrCloud, specifying dataDir correctly
Date Mon, 14 Dec 2015 17:49:45 GMT
Hi all

We're currently in the process of migrating our distributed search
running on 5.0 to SolrCloud running on 5.4, and setting up a test
cluster for performance testing etc.

We have several cores/collections, and in each core's solrconfig.xml,
we were specifying an empty <dataDir>, and specifying the same
core.baseDataDir in

When I tried this in SolrCloud mode, specifying
"" when starting each node, it worked fine
for the first collection, but then the second collection tried to use
the same directory to store its index, which obviously failed. I fixed
this by changing solrconfig.xml in each collection to specify a
specific directory, like so:


Looking back after the weekend, I'm not a big fan of this. Is there a
way to add a to ZK, or a way to specify
core.baseDatadir on the command line, or just a better way of handling
this that I'm not aware of?



View raw message