You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2018/03/10 18:33:00 UTC

[jira] [Commented] (SOLR-12059) Unable to rename solr.xml

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

Jason Gerlowski commented on SOLR-12059:
----------------------------------------

What is the rationale/benefit behind allowing solr.xml to have a different name?  I'll admit I'm having trouble picturing what use-case this supports/enables.  Can you clarify the benefits a bit?  (Both to satisfy my lack of imagination, and because spelling out the value might help your chances of someone else taking interest in this.)

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [jira] [Commented] (SOLR-12059) Unable to rename solr.xml

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi Jason,

Currrently, we are able to rename the solrconfig.xml to a different name by
modifying the core.properties file. Also, we are rename the solr.log to a
different name by modifying the log4j.properties.

So in order to standardize the name, we would also like to rename the
solr.xml. Then it will be easier to identify the files based on the name
that we are using for our project. Otherwise, we only have some files
renamed, while others still remains as Solr, and it may cause confusions.

Regards,
Edwin

On 11 March 2018 at 02:33, Jason Gerlowski (JIRA) <ji...@apache.org> wrote:

>
>     [ https://issues.apache.org/jira/browse/SOLR-12059?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=16394289#comment-16394289 ]
>
> Jason Gerlowski commented on SOLR-12059:
> ----------------------------------------
>
> What is the rationale/benefit behind allowing solr.xml to have a different
> name?  I'll admit I'm having trouble picturing what use-case this
> supports/enables.  Can you clarify the benefits a bit?  (Both to satisfy my
> lack of imagination, and because spelling out the value might help your
> chances of someone else taking interest in this.)
>
> > 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: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>