lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Updated] (SOLR-3251) dynamically add field to schema
Date Mon, 15 Apr 2013 14:36:16 GMT


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
* 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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message