[ https://issues.apache.org/jira/browse/SOLR-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551218 ]
Erik Hatcher commented on SOLR-427: ----------------------------------- I was following the precedent set by SolrConfig (i.e. public SolrConfig(String instanceDir, String file, InputStream is)) a bit with this patch. Why is "file" in that constructor? It is highly desirable and useful to have these things configurable outside the scope of a file system file, or even XML for that matter (but that can be hacked with an InputStream that hides the XML nature of it at this point). I concur that it would be great for these configuration pieces to be able to reload themselves - perhaps what we do is simply tuck the bytes read from the InputStream away internally so they can be reloaded or dumped back out. I'm fine with undeprecating that constructor, though, at least until we come up with something better. > Allow IndexSchema to load from an InputStream, not just a file system file > -------------------------------------------------------------------------- > > Key: SOLR-427 > URL: https://issues.apache.org/jira/browse/SOLR-427 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 1.3 > Reporter: Erik Hatcher > Assignee: Erik Hatcher > Priority: Minor > Fix For: 1.3 > > Attachments: patch.txt > > > IndexSchema is currently tied to reading a file system schema.xml file. In > order to more dynamically load a schema from in-memory configuration this > needs to be adjusted. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.