[
https://issues.apache.org/jira/browse/SOLR-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721757#comment-16721757
]
Jan Høydahl commented on SOLR-13035:
------------------------------------
What exactly is SOLR_TIP here? After a default Linux install script install,
SOLR_TIP is {{/opt/solr}} if I'm not mistaken, which would typically be R/O.
Perhaps what we'd need is a new env.var {{SOLR_VAR_ROOT}} that would be the
root of all writable files, then {{-t data -l logs}} would translate into
{{SOLR_VAR_ROOT/data}} and {{SOLR_VAR_ROOT/logs}}, and installers could simply
install Solr to somewhere (e.g. C:\ProgramFiles\Solr) and set e.g.
{{SOLR_VAR_ROOT=D:\}} and the defaults would then be for SOLR_HOME,
SOLR_DATA_DIR, SOLR_LOGS_DIR and SOLR_PID_DIR to be relative to that.
> Utilize solr.data.home / solrDataHome in solr.xml to set all writable files
> in single directory
> -----------------------------------------------------------------------------------------------
>
> Key: SOLR-13035
> URL: https://issues.apache.org/jira/browse/SOLR-13035
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Amrit Sarkar
> Priority: Major
> Attachments: SOLR-13035.patch, SOLR-13035.patch
>
>
> {{solr.data.home}} system property or {{solrDataHome}} in _solr.xml_ is
> already available as per SOLR-6671.
> The writable content in Solr are index files, core properties, and ZK data if
> embedded zookeeper is started in SolrCloud mode. It would be great if all
> writable content can come under the same directory to have separate READ-ONLY
> and WRITE-ONLY directories.
> It can then also solve official docker Solr image issues:
> https://github.com/docker-solr/docker-solr/issues/74
> https://github.com/docker-solr/docker-solr/issues/133
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]