You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2007/12/08 11:46:43 UTC

[jira] Resolved: (SOLR-427) Allow IndexSchema to load from an InputStream, not just a file system file

     [ https://issues.apache.org/jira/browse/SOLR-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-427.
-------------------------------

    Resolution: Fixed

committed.   I left the deprecations of the file constructor and the getInputStream() method.   The file constructor can easily be refactored out.  As for getInputStream() - the only way this could be viable with an IndexSchema constructed by an InputStream would be if the schema bytes were tucked away when loaded so they could be regurgitated back - which perhaps makes sense?!   Something to consider when we eventually get around to cleaning up all the deprecations we have lying around.

> 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.