lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-2970) CSV ResponseWriter returns fields defined as stored=false in schema
Date Fri, 16 Dec 2011 10:02:30 GMT

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

Jan Høydahl commented on SOLR-2970:
-----------------------------------

Created SOLR-2974 for B)

I see that today you can explicitly specify non-existing fields in field-list and they will
all end up in the response, e.g. &wt=csv&fl=id,type,foo,nonexisting

If this is useful in some cases then let's continue to support it - coupled with the improvement
in SOLR-2974
But the default case when "fl" is not specified, or specified as "*", CSV writer should output
only the stored fields.
                
> 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


Mime
View raw message