[ 
https://issues.apache.org/jira/browse/SOLR-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702067#comment-13702067
 ] 

Grant Ingersoll commented on SOLR-5010:
---------------------------------------

bq. In fact, I'm not convinced that tacking copyFields directives onto 
/schema/fields is the right way to go, since we have to have the ability to PUT 
to /schema/copyFields for the not-adding-fields case anyway: it needlessly 
complicates the API and the code.

We can refactor it to be shared (although it is pretty minimal amount of code) 
across fields and /copyFields.  I do think being able to specify it when adding 
is useful, as it can all be done as part of that single call and is very 
straightforward to do.
                
> Add REST support for Copy Fields
> --------------------------------
>
>                 Key: SOLR-5010
>                 URL: https://issues.apache.org/jira/browse/SOLR-5010
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Schema and Analysis
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-5010.patch, SOLR-5010.patch, SOLR-5010.patch
>
>
> Per SOLR-4898, adding copy field support.  Should be simply a new parameter 
> to the PUT/POST with the name of the target to copy to.

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