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

CSV output doesn't include function field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4
    • 4.7.1, 4.8, 6.0
    • None
    • 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
          4 kB
          Arun Kumar
        2. SOLR-5423.patch
          9 kB
          Steven Rowe

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              jwilson_shutterstock James Wilson
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: