[ https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Rowe updated SOLR-3251: ----------------------------- Attachment: SOLR-3251.patch Patch, fixing issues Robert and Yonik raised. # Restored SchemaCodecFactory's and SchemaSimilarityFactory's not-null assertions in their getters. # Moved zkIndexSchemaReader to ManagedIndexSchemaFactory. # Removed SolrIndexSearcher.getSchema() entirely, switching previous calls to either pull the schema from the request, if available or failing that, from the searcher's SolrCore. # Put {{newField()}} and {{addFields()}} back as member functions of IndexSchema, rather than static methods on ManagedIndexSchema. This is not the full refactoring with an abstract IndexSchema, but at least these methods won't get in the way of that. I'll make a separate JIRA for the schema refactoring so the idea doesn't get lost. # Fixed javadoc duplication on SchemaAware {{inform()}} methods. # In RealTimeGetComponent, switched from {{req.getCore().getSchema()}} to {{req.getSchem()}}. Added a basic test in new class TestAddFieldRealTimeGet to make sure this works. > 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 > Assignee: Steve Rowe > Fix For: 4.3 > > Attachments: SOLR-3251.patch, SOLR-3251.patch, SOLR-3251.patch, > SOLR-3251.patch, SOLR-3251.patch, 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