Re: Separating cores from Solr home

2016-03-04 Thread Jan Høydahl
There is also the more clean solution in https://issues.apache.org/jira/browse/SOLR-6671 (not committed). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 4. mar. 2016 kl. 15.38 skrev Shawn Heisey : > > On 3/3/2016 4:12 AM, Tom Evans wrote: >>

Re: Separating cores from Solr home

2016-03-04 Thread Shawn Heisey
On 3/3/2016 4:12 AM, Tom Evans wrote: > I'm struggling to configure solr cloud to put the index files and > core.properties in the correct places in SolrCloud 5.5. Let me explain > what I am trying to achieve: > > * solr is installed in /opt/solr > * the user who runs solr only has read only

Re: Separating cores from Solr home

2016-03-03 Thread Jeff Wartes
It’s a bit backwards feeling, but I’ve had luck setting the install dir and solr home, instead of the data dir. Something like: -Dsolr.solr.home=/data/solr -Dsolr.install.dir=/opt/solr So all of the Solr files are in in /opt/solr and all of the index/core related files end up in /data/solr.

Re: Separating cores from Solr home

2016-03-03 Thread Upayavira
You can add a entry in your solrconfig to point to an entirely different location for libraries. Update them, then you just need to reload cores, not the whole of Solr. Then, try setting the LOG4J_PROPS envvar before starting Solr, so you can have your logging configs somewhere else, and

Re: Separating cores from Solr home

2016-03-03 Thread Tom Evans
Hmm, I've worked around this by setting the directory where the indexes should live to be the actual solr home, and symlink the files from the current release in to that directory, but it feels icky. Any better ideas? Cheers Tom On Thu, Mar 3, 2016 at 11:12 AM, Tom Evans

Separating cores from Solr home

2016-03-03 Thread Tom Evans
Hi all I'm struggling to configure solr cloud to put the index files and core.properties in the correct places in SolrCloud 5.5. Let me explain what I am trying to achieve: * solr is installed in /opt/solr * the user who runs solr only has read only access to that tree * the solr home files -