[ 
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 with the following changes:

* Schema is now effectively immutable:  requests see the same schema snapshot 
for their lifetimes.
* ManagedIndexSchema.addFields() allows for multiple fields to be added at 
once, though only the single-field REST API is provided at this point.
* Only new field additions are allowed: addFields() fails if getFieldOrNull() 
returns non-null for any of the given new fields.
* SchemaCodecFactory and SchemaSimilarityFactory don't change codec and 
similarity when the schema is swapped out: instead they refer to the latest 
version they have been inform()'d about.
* Multi-core shared schemas are now handled: the old schema is removed from the 
schema cache, the new schema is added to the schema cache, and the new schema 
replaces the old schema in all active cores.

[~rcmuir], I'd appreciate your review of these changes.
                
> 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
>         Attachments: 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

Reply via email to