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

Ryan McKinley updated SOLR-3413:
--------------------------------

    Attachment: SOLR-3413-rename.patch

this patch keeps track of when the transformation should be a copy vs rename.  
If the same field is renamed multiple times, it chains the copy logic.

For example with:
&fl=aaa:id,bbb:id,ccc:id

This gets converted into:
rename id to aaa
copy aaa to bbb
copy bbb to ccc

                
> ReturnFields should allow multiple copies of the same field
> -----------------------------------------------------------
>
>                 Key: SOLR-3413
>                 URL: https://issues.apache.org/jira/browse/SOLR-3413
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: SOLR-3413-rename.patch
>
>
> If you try to use return fields to put multiple copies of the same field in 
> the response, on the the last one works.
> For example:
> http://localhost:8983/solr/select?q=*:*&fl=id,xxx:id
> returns the single field "xxx"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to