[ https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572875#comment-13572875 ]
Steve Rowe commented on SOLR-3251: ---------------------------------- Here's a rough outline of what I'd like to do: # Add schema field & fieldtype details REST API methods getFields, getField, getFieldtypes, and getFieldtype. (A client should be able to find out the current set of fields/fieldtypes before adding a new one.) # Change Solr schema serialization from XML to JSON, and provide an XML->JSON conversion tool. # Add internal addField method: ** Modify in-memory schema, based on Yonik's patch ** Persist/reload schema: *** In standalone mode (and on node handling addField request in SolrCloud mode), after creating new schema, persist (locally or to ZK), then switch to new schema. *** In SolrCloud mode, set watches on the schema in ZK; when triggered, read/parse schema from ZK, and reload changed parts only. In-flight requests will not see schema changes. # Implement REST API addField method; add Restlet dependency. I'm proposing to keep the schema in ZK as a znode, as it is now, rather than having one znode per section or per item. > 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