You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (Commented) (JIRA)" <ji...@apache.org> on 2011/12/15 16:54:30 UTC

[jira] [Commented] (SOLR-2970) CSV ResponseWriter returns fields defined as stored=false in schema

    [ https://issues.apache.org/jira/browse/SOLR-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170302#comment-13170302 ] 

Yonik Seeley commented on SOLR-2970:
------------------------------------

The other side of the coin is that if a client asks for x,y,z they may be expecting those columns in that order.

IMO, the problem is more about CSV not having a native representation for null/missing (i.e. if you ask for a sparse field, you will get zero length strings for the missing values too).
                
> CSV ResponseWriter returns fields defined as stored=false in schema
> -------------------------------------------------------------------
>
>                 Key: SOLR-2970
>                 URL: https://issues.apache.org/jira/browse/SOLR-2970
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>            Reporter: Jan Høydahl
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2970.patch
>
>
> 1. Add &wt=csv to a query
> 2. You get columns for non-stored fields

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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