On 5/25/2017 2:05 AM, takumi yoshida wrote:
> I wounder if we add new parameter dataDir for collection CREATE
> command. There have been dataDir for ADDREPLICA command. So, if we add
> dataDir for CREATE too, it would be more easy to handle data directory
> when we make new collection with new disk or NFS, etc ...

I'm with Erick.  The danger of creating multiple cores on the same
server with exactly the same dataDir is simply too high.  It doesn't
make sense to add a dataDir parameter to the Collections API CREATE.

By editing core.properties files on an individual server after the
collection is created to add the dataDir property, and restarting Solr,
you can move a dataDir.  The location would be relative to the place the
core.properties file is found.  This could be dangerous, but done
correctly, would work.

Thanks,
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to