Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux Server with Tomcat

      Description

      We just discover that we can't have alias for CSV Formating
      http://127.0.0.1:8983/solr/collection1/select?q=*%3A*&fl=score%2C+idprod%3Aid&wt=csv&indent=true
      using this schema
      https://issues.apache.org/jira/secure/attachment/12576952/schema.xml
      for the standard core collection
      => result as attachment

      1. result.csv
        0.1 kB
        nihed mbarek
      2. SOLR-4671-CSV-Pseudo-Fields.patch
        6 kB
        Ryan McKinley

        Issue Links

          Activity

          Hide
          Ryan McKinley added a comment -

          CSV formatting does not support any of the pseudo-field stuff.

          If you put in fl=[docid],id it will give you an NPE!

          Show
          Ryan McKinley added a comment - CSV formatting does not support any of the pseudo-field stuff. If you put in fl= [docid] ,id it will give you an NPE!
          Hide
          nihed mbarek added a comment -

          Ryan McKinleySorry, but for my execution there is no NPE, it work and fl can help me to choose what column to export as csv. In other part, alias don't work.

          Show
          nihed mbarek added a comment - Ryan McKinley Sorry, but for my execution there is no NPE, it work and fl can help me to choose what column to export as csv. In other part, alias don't work.
          Hide
          Ryan McKinley added a comment -

          expose the Requested field names in ReturnFields and use them in CSVResponseWriter (rather then the lucene field names)

          Show
          Ryan McKinley added a comment - expose the Requested field names in ReturnFields and use them in CSVResponseWriter (rather then the lucene field names)
          Hide
          Ryan McKinley added a comment -

          fixed in trunk and 4x

          Show
          Ryan McKinley added a comment - fixed in trunk and 4x
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Ryan McKinley
              Reporter:
              nihed mbarek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development