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

Yonik Seeley commented on SOLR-3251:
------------------------------------

bq. Does this imply that the schema would be writeable?

The in-memory schema object yes.
The question is how to persist changes.  I was thinking it might be easiest to 
keep a separate file alongside schema.xml for dynamically added fields for now. 
 The term "dynamicFields" has already been taken though and we probably 
shouldn't overload it.  Maybe extra_fields.json?  Or maybe even 
schema.json/schema.yaml that acts as an extension of schema.xml (and could 
acquire additional features over time such as the ability to define types too?)

But a separate file that just lists fields will be much quicker (and easier) to 
update.  Reloading a full schema.xml (along with type instantiation) would 
currently be somewhat prohibitive.

                
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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