You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2012/04/25 23:22:19 UTC

[jira] [Created] (SOLR-3413) ReturnFields should allow multiple copies of the same field

Ryan McKinley created SOLR-3413:
-----------------------------------

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


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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3413) ReturnFields should allow multiple copies of the same field

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-3413.
---------------------------------

    Resolution: Fixed

Committed revision 1330568
                
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3413) ReturnFields should allow multiple copies of the same field

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org