lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Commented] (SOLR-13035) Utilize / solrDataHome in solr.xml to set all writable files in single directory
Date Wed, 02 Jan 2019 09:34:00 GMT


Shalin Shekhar Mangar commented on SOLR-13035:

Why should there be a "var" directory under the unzipped solr? "var" doesn't mean anything
on windows, for example. Most datastores ship with a logs and data directory right under the
unzipped root. I think we should do the same and not introduce new environment variables.
Also, it should be possible to point data and logs to separate mount points which a new SOLR_VAR_ROOT
doesn't hinder but doesn't help with too.

If someone wants to move all such writable directories under one then they can set multiple
variables (which already exist and are relatively well known) or they can mount to multiple
places. This will likely be done by the docker-solr project so it is not like everyone has
to make this decision. I'd be okay going with your proposal if getting rid of the myriad of
properties we already have is part of the plan but if not, then adding one more just causes
more confusion I feel.

> Utilize / solrDataHome in solr.xml to set all writable files in single
> -----------------------------------------------------------------------------------------------
>                 Key: SOLR-13035
>                 URL:
>             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
> {{}} 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:

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message