You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2013/02/05 21:57:13 UTC

[jira] [Comment Edited] (SOLR-3251) dynamically add field to schema

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

Erik Hatcher edited comment on SOLR-3251 at 2/5/13 8:57 PM:
------------------------------------------------------------

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

True, and it could also be broken down into individual keys rather than one big "schema" blob... such that an individual field is defined under a schema tree rather than a config "file" being stored in XML format.  

bq. But I guess you're arguing against depending on an XML-specific intermediate representation (the DOM)?

Kinda, yeah, but I'm just thinking out loud here and just making sure we don't over XML things further.

Regarding documentation: perhaps a field could be documented with a "comment" or "description" attribute.
                
      was (Author: ehatcher):
    bq. 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

True, and it could also be broken down into individual keys rather than one big "schema" blog... such that an individual field is defined under a schema tree rather than a config "file" being stored in XML format.  

bq. But I guess you're arguing against depending on an XML-specific intermediate representation (the DOM)?

Kinda, yeah, but I'm just thinking out loud here and just making sure we don't over XML things further.

Regarding documentation: perhaps a field could be documented with a "comment" or "description" attribute.
                  
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org