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

Erick Erickson resolved SOLR-7208.
----------------------------------
    Resolution: Not a Problem

There's a workaround, and no convincing argument has been made for why this is 
desirable.

> CSV response support for returning same column name multiple times
> ------------------------------------------------------------------
>
>                 Key: SOLR-7208
>                 URL: https://issues.apache.org/jira/browse/SOLR-7208
>             Project: Solr
>          Issue Type: Task
>    Affects Versions: 4.10.2
>         Environment: Open Suse 14
>            Reporter: Nagabhushan
>            Priority: Trivial
>
> the CSV response writer will not currenlty generate CSV output in which 2 
> columns have identical names, ie, in the techproducts example 
> {{wt=csv&fl=id,name,id,manu_id_s}} generates a CSV file with only 3 columns 
> (id, name, manu_id_s)
> A work around for people who really want the same data to come back in 2 diff 
> columns is to use fl field aliasing:  
> {{wt=csv&fl=id,name,id_again:id,manu_id_s}} which will produce a redundent 
> "id" column using the column name "id_again"
> there is no known workarround to get 2 columns in the CSV output with the 
> same name (regardless of wether they come from the same original field or 
> transformer)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to