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

Cassandra Targett updated SOLR-6785:
------------------------------------
    Component/s: update

> polyfields are encapsulated and escaped in csv
> ----------------------------------------------
>
>                 Key: SOLR-6785
>                 URL: https://issues.apache.org/jira/browse/SOLR-6785
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>            Reporter: Michael Lawrence
>
> The wiki for UpdateCSV (which also presumably applies to the CSV response 
> writer) states: "If an escape is specified, the encapsulator is not used 
> unless also explicitly specified since most formats use either encapsulation 
> or escaping, not both." That makes a lot of sense. However,  the fix for 
> SOLR-3959 makes it so that polyfields are always escaped, even when 
> enscapsulation is enabled. Are we sure that SOLR-3959 was even a bug in the 
> first place? Why should commas in the output of polyfields be treated any 
> differently than commas elsewhere? One possible enhancement to the interface 
> would be to use "\" as the separator by default when encapsulation is 
> disabled, but I propose starting by reverting the "fix" for SOLR-3959.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to