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

CSV output doesn't include function field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.7.1, 4.8, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Given a schema with

      <field name="price" type="float" indexed="true" stored="true"/>
      <field name='numpages' type='int' indexed='true' stored='true'/>

      the following query returns no rows:

      http://localhost:8983/solr/collection1/select?q=*%3A*&rows=30&fl=div(price%2Cnumpages)&wt=csv&indent=true

      However, setting wt=json or wt=xml, it works.

        Attachments

        1. SOLR-5423.patch
          9 kB
          Steve Rowe
        2. SOLR-5423.patch
          4 kB
          Arun Kumar

          Issue Links

            Activity

              People

              • Assignee:
                steve_rowe Steve Rowe
                Reporter:
                jwilson_shutterstock James Wilson
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: