[
https://issues.apache.org/jira/browse/SOLR-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik Hatcher updated SOLR-79:
-----------------------------
Attachment: solr-config-system-property.patch
Borrowing some code from Ant for property substitution (ugly, but avoids
reinventing the wheel), attached is a patch that implements property
substituion on all attributes and text nodes in the loaded DOM. The
substituions are done in-place on the DOM thus avoiding having to change code
in multiple places.
> [PATCH] Using system properties in Solr configuration
> -----------------------------------------------------
>
> Key: SOLR-79
> URL: https://issues.apache.org/jira/browse/SOLR-79
> Project: Solr
> Issue Type: New Feature
> Reporter: Alexander Saar
> Assigned To: Erik Hatcher
> Priority: Minor
> Attachments: solr-config-system-property.patch,
> solr-config-system-property.patch, solr-config-system-property.patch
>
>
> Actually it is not possible to use system properties for configuring the Solr
> engine. There should be a way of referencing system properties from
> solrconfig.xml, like {$prop.name}.
> The attached patch will provide this feature.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.