lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Commented] (SOLR-7160) Decouple corecontainer configuration classes from solr.xml
Date Wed, 25 Feb 2015 14:01:04 GMT


Alan Woodward commented on SOLR-7160:

Well I'd say it the other way round - solr.xml is just the representation of the NodeConfig
:-)  And ConfigSolr is just too easily confused with SolrConfig, so I think the rename is
worth it.

> Decouple corecontainer configuration classes from solr.xml
> ----------------------------------------------------------
>                 Key: SOLR-7160
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Priority: Minor
>         Attachments: SOLR-7160.patch
> The ConfigSolr object that holds configuration options for CoreContainer is currently
represented as a DOM object, with various methods on it for pulling values out of the DOM
tree or out of System properties.  This has a couple of drawbacks:
> 1) it couples the configuration class directly to its representation on disk, which is
a pain if we ever want to change it (say hello, old-style to new-style solr.xml upgrade!).
> 2) the checking of system properties means that it's not threadsafe, which in turn means
that all our cluster tests have to launch Jettys sequentially, rather than in parallel.  This
results in tests taking about 25 seconds to start up, before any of the test logic has been
> We should tidy this up.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message