Well, if you must ;).... Basically whatever is easier. "Core discovery" starts at SOLR_HOME, wherever you've defined that. Which can be done with a sysvar "-Dwhatrever" at start time or the "-s" param if using the bin/solr start scripts. That's the root for finding all "core.properties" files. Each core.properties file defines a core.
_within_ a core.properties file you can specify a dataDir pointing wherever you want which is where the index goes. If using the core admin API to create a core, you can specify dataDir as one of the params. Really, about all the core admin CREATE API does is create the core.properties file, so Shawn's process of setting it all up _including_ a core.properties file and starting Solr works perfectly. The only caution when specifying dataDir for a particular core is it as A Very Bad Thing if two cores point to the _same_ dataDir. One of them will refuse to load due to the index being locked. A lot of this is at: https://lucene.apache.org/solr/guide/6_6/defining-core-properties.html Best, Erick On Wed, Nov 15, 2017 at 5:05 AM, Rick Leir <rl...@leirtech.com> wrote: > Hi Shawn, Amanda > When we put the data under /var/lib, I feel a need to put the config under > /etc. Is this recommended, and would you use a symbolic link for the conf dir? > Cheers--Rick > -- > Sorry for being brief. Alternate email is rickleir at yahoo dot com