lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3137) When solr.xml is persisted, you lose all system property substitution that was used.
Date Thu, 16 Feb 2012 04:20:59 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated SOLR-3137:
------------------------------

    Attachment: SOLR-3137.patch

patch with the general idea of what I am thinking - we store the orig solr.xml dom structure
as a field. We also store a mapping from SolrCore to orginal core name. We have to keep that
up to date on core reload. Then when writing out the solr.xml file we can use both those data
structures to see if we should use the original raw value, a new updated value, etc.
                
> When solr.xml is persisted, you lose all system property substitution that was used.

> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3137
>                 URL: https://issues.apache.org/jira/browse/SOLR-3137
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>         Attachments: SOLR-3137.patch
>
>
> A lesser issue is that we also write out properties that where not originally in the
file with the defaults they picked up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message