[ 
https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571711#comment-13571711
 ] 

Steve Rowe commented on SOLR-3251:
----------------------------------

{quote}
IMO - The XMLness of the current Solr schema needs to be isolated to only one 
optional way of constructing an IndexSchema instance. We want less XML rather 
than more. (for example, it should be possible to have a relational database 
that contains a model of a schema and load it that way)
{quote}

Well, I don't want to change the entire world all at once here :).  And the 
serialized representation in Zookeeper won't be a relational DB (dump), but I 
suppose it could be JSON or YAML instead of XML.  AFAICT, YAML isn't used in 
Solr anywhere.  And JSON doesn't support comments, but I think documentation 
could be included as a {{"documentation":"comment"}} pair at the appropriate 
level, similar to how W3C XML Schema syntax uses {{<documentation>}} within 
{{<annotation>}}. 

But I guess you're arguing against depending on an XML-specific intermediate 
representation (the DOM)?
                
> dynamically add field to schema
> -------------------------------
>
>                 Key: SOLR-3251
>                 URL: https://issues.apache.org/jira/browse/SOLR-3251
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Attachments: SOLR-3251.patch
>
>
> One related piece of functionality needed for SOLR-3250 is the ability to 
> dynamically add a field to the schema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to