lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Commented] (SOLR-13035) Utilize / solrDataHome in solr.xml to set all writable files in single directory
Date Sun, 02 Dec 2018 21:32:00 GMT


Shawn Heisey commented on SOLR-13035:

My current opinion:  The parameter is an expert option.  if you want to change
where Solr writes its data, just change the solr home (solr.solr.home property, -s option
on the bin/solr script) -- both the core instanceDirs and the dataDirs will be under that

The only reason to define is to put instanceDir and dataDir definitions in
different places without having to manually edit files to set dataDir.  Expert
users might have reason to separate core configs from core data ... but I don't think typical
users need it.  Also, that separation is readily achieved by running in SolrCloud mode.

To solve issues for the docker images, we need to have the ability for Solr to start when
solr.xml is missing.  If we have that, then the docker image can mount an empty location for
the solr home, and Solr will start.  Then the user has the option of adding a solr.xml file
if they want to change config options controlled by that file.  

> 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