lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-13035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16706480#comment-16706480
] 

Shawn Heisey commented on SOLR-13035:
-------------------------------------

My current opinion:  The solr.data.home 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
location.

The only reason to define solr.data.home is to put instanceDir and dataDir definitions in
different places without having to manually edit core.properties 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 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.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 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:
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message