lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <>
Subject [jira] [Commented] (SOLR-2970) CSV ResponseWriter returns fields defined as stored=false in schema
Date Thu, 15 Dec 2011 19:40:31 GMT


Jan Høydahl commented on SOLR-2970:

So there are two distinct issues here
A) CSV attempts to return fields which are not stored - which is bound to always return blank
B) When returning a stored field which has no value (null) for a document, there is no way
to distinguish that from the empty string case

I think B) should have its own JIRA.

For A), I still cannot see any usecase where you want to ask for a non-stored field in the
CSV output, even if you ask for it explicitly - since it will always be null/empty. If you
ask the XML or JSON writer for a non-stored field, you never get it no matter what - it formally
does not exist in this context.
> CSV ResponseWriter returns fields defined as stored=false in schema
> -------------------------------------------------------------------
>                 Key: SOLR-2970
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message