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

Will Johnson updated SOLR-239:
------------------------------

    Attachment: IndexSchemaStream2.patch

the attached patch (IndexSchemaStream2.patch) includes a cleaned up test case 
as well as making the IndexSchema constructors throw a SolrException since they 
are reading InputStreams (which they were before).  i think perhaps they should 
throw something a big 'stronger' but that seemed to have more wide-reaching 
implications.


> Read IndexSchema from InputStream instead of Config file
> --------------------------------------------------------
>
>                 Key: SOLR-239
>                 URL: https://issues.apache.org/jira/browse/SOLR-239
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.2
>         Environment: all
>            Reporter: Will Johnson
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: IndexSchemaStream.patch, IndexSchemaStream2.patch, 
> IndexSchemaStream2.patch
>
>
> Soon to follow patch adds a constructor to IndexSchema to allow them to be 
> created directly from InputStreams.  The overall logic for the Core's use of 
> the IndexSchema creation/use does not change however this allows java clients 
> like those in SOLR-20 to be able to parse an IndexSchema.  Once a schema is 
> parsed, the client can inspect an index's capabilities which is useful for 
> building generic search UI's.  ie provide a drop down list of fields to 
> search/sort by.  

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

Reply via email to