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

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

bq. 2. In CopyFieldsCollectionResource.post(), the loop

Good catch!  Patch shortly.

bq. 3. There is no else after the above if block to handle the case when splits 
is null or empty. It's not an impossible condition - for example, "dest":",,," 
would trigger this case.

But what should it do?  Do you want an error?
                
> 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-copyFields.patch, 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