You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Arun Kumar (JIRA)" <ji...@apache.org> on 2014/02/03 14:34:10 UTC

[jira] [Updated] (SOLR-5423) CSV output doesn't include function field

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

Arun Kumar updated SOLR-5423:
-----------------------------

    Attachment: CSVResponseWriter.java.patch

Fix for the csv output doesn't work for function fields

> CSV output doesn't include function field
> -----------------------------------------
>
>                 Key: SOLR-5423
>                 URL: https://issues.apache.org/jira/browse/SOLR-5423
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.4
>            Reporter: James Wilson
>         Attachments: CSVResponseWriter.java.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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