Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6785

polyfields are encapsulated and escaped in csv

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: update
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lawremi Michael Lawrence
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: