[ 
https://issues.apache.org/jira/browse/SOLR-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated SOLR-5097:
-----------------------------

    Attachment: SOLR-5097.patch

Patch, I think it's ready to go.

The patch also included a performance fix to 
{{ManagedIndexSchema.addFields()}}, to only persist the schema once for all 
added fields, rather than once per field.

[~thelabdude], I've made some fairly radical changes to 
{{TestCloudManagedSchemaConcurrent}} (to simplify addition of new Schema API 
functionality), which will very likely clash with your changes there on 
SOLR-5098, so we'll need to do a merge at some point.

> Add REST support for adding dynamic fields to the schema
> --------------------------------------------------------
>
>                 Key: SOLR-5097
>                 URL: https://issues.apache.org/jira/browse/SOLR-5097
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Schema and Analysis
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Minor
>         Attachments: SOLR-5097.patch
>
>
> POST to {{/schema/dynamicfields}} will add one or more new dynamic fields to 
> the schema.
> PUT to {{/schema/dynamicfields/_name_}} will add the {{_name_}}'d dynamic 
> field to the schema.
> Like the copyField support added to the {{/schema/fields}} REST API by 
> SOLR-5010, it will be possible to specify copyField destinations at the point 
> of dynamic field creation.
> The implementation will follow the {{/schema/fields}} REST API implementation 
> fairly closely, with the additional restriction that the field name must 
> follow the dynamic field name restrictions, i.e.: 1) exactly one asterisk 
> must be present in the name; and 2) the asterisk must be the first and/or the 
> last character of the name (first *and* last only if the asterisk is the 
> entire name).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to