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 Mon, 03 Dec 2018 02:21:00 GMT


Shalin Shekhar Mangar commented on SOLR-13035:

I think the core case of separating read-only directories of Solr and writable directories
should be addressed. The docker-solr project had to do a lot of workarounds to make this work.
The world is moving to containers and we need to make those use-cases easy.

In a container, the directory containing configuration such as solr.xml is empty so that a
volume can be mounted there, same for instance dir and data dir. The rest of the directories
in the container should be read-only.

The takes us most of the way there. But if that's not the right flag then we
can change it or create a new one (I don't like the latter idea). Perhaps we can it {{solr.write.dir}}?
Now the ideal directory layout can be top-level directories such as {{conf}}, {{data}}, {{logs}}
instead of conflating them under a {{server/solr}} directory as today. If people agree on
that then we can work on doing this for 8.0.

> 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
> {{}} 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 also started in SolrCloud mode. It would be great if all writable content can
come under the same directory.
> 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