Cache and reuse the DOM object of solrconfig.xml
------------------------------------------------
Key: SOLR-919
URL: https://issues.apache.org/jira/browse/SOLR-919
Project: Solr
Issue Type: Improvement
Reporter: Noble Paul
If there are 1000's of cores the no:of times we need to load and parse the
solrconfig.xml is going to be very expensive. In such a case we may mostly have
same solrconfig.xml with some core properties embedded
The solution is , if the location of the xml file is same (on disk) let us
keep only one DOM object and reuse it for every other cores. So we can keep a
cache at the CoreContainer level .
We save file reading , XML parsing and RAM in one go
The only challenge here is that it is we currently substitute core properties
at read time. We will have to postpone this to consumption time. So whenever we
read the values from the DOM the values can be substituted and used
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.