Steve Rowe created SOLR-5097:
--------------------------------

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


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 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to