lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2970) CSV ResponseWriter returns fields defined as stored=false in schema
Date Thu, 15 Dec 2011 18:04:30 GMT

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

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

bq. Query: http://localhost:8983/solr/ac/select/?q=*%3A*&wt=csv

Ah, thanks for the example Jan.  I didn't realize those non-stored fields were returned by
default!

bq. Is it ever correct to return non-stored fields?

If the user explicitly asks for the non-stored field, it can be OK to still return it.  It's
less a matter of correctness and more a matter of what's most useful.


                
> 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