You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/09/03 02:19:51 UTC

[jira] [Resolved] (SOLR-5097) Add REST support for adding dynamic fields to the schema

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

Steve Rowe resolved SOLR-5097.
------------------------------
       Resolution: Fixed
    Fix Version/s: 4.11
                   5.0

Committed to trunk and branch_4x.

> 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
>             Fix For: 5.0, 4.11
>
>         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.3.4#6332)

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