lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Talbot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1167) Support module xml config files using XInclude
Date Tue, 19 May 2009 01:41:45 GMT

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

Bryan Talbot commented on SOLR-1167:
------------------------------------

It can't conditionally include content, no.  That can be achieved in startup scripts easy
enough though: if the "-master" flag is given then copy the correct file into place and include
it, if the "-slave" flag is given then copy the slave file into place, etc.

I believe we'd need to write code to handle conditional inclusion.  The XInclude stuff works
at the XML parser level which knows nothing of system and environment variables of course.

-Bryan

> Support module xml config files using XInclude
> ----------------------------------------------
>
>                 Key: SOLR-1167
>                 URL: https://issues.apache.org/jira/browse/SOLR-1167
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Bryan Talbot
>            Priority: Minor
>         Attachments: SOLR-1167.patch, SOLR-1167.patch
>
>
> Current configuration files (schema and solrconfig) are monolithic which can make maintenance
and reuse more difficult that it needs to be.  The XML standards include a feature to include
content from external files.  This is described at http://www.w3.org/TR/xinclude/
> This feature is to add support for XInclude features for XML configuration files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message