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

Edwin Yeo Zheng Lin commented on SOLR-12059:
--------------------------------------------

We want to rename the solr.xml to add some versioning and date to the file 
name. This helps in many ways including when we upgrade the Solr to newer 
version the old version configuration files stay intact and will not be 
replaced accidentally. Another reason is for providing a means to revert to 
last configurations if something goes wrong after changing solr.xml or other 
config xml files!



As we mentioned, we could make changes to almost all xml config files except 
solr.xml, so I believe if all the rest can be renamed why not solr.xml?

> Unable to rename solr.xml
> -------------------------
>
>                 Key: SOLR-12059
>                 URL: https://issues.apache.org/jira/browse/SOLR-12059
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.5.1
>         Environment: Renaming of solr,xml in the $SOLR_HOME directory
>            Reporter: Edwin Yeo Zheng Lin
>            Priority: Major
>
> I am able to rename the flie names like solrconfig.xml and solr.log to custom 
> names like myconfig.xml and my.log quite seamlessly. 
> However, I am not able to rename the same for solr.xml. Understand that the 
> solr.xml is hard-coded at the SolrXmlConfig.java. Meaning it requires a 
> re-compile of the Jar file in order to rename it.
> Since we can rename files like solrconfig.xml from the properties files, so 
> we should do the same for solr.xml?
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to