lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Black (JIRA)" <>
Subject [jira] Commented: (SOLR-1925) CSV Response Writer
Date Thu, 10 Jun 2010 16:07:22 GMT


Kevin Black commented on SOLR-1925:

Hi Chris,

In your 1st point, are you saying that defining "fl=field1,field2,field3" will populate a
column with empty quotes if field2 is missing in a document?

however, in my URL, I have "&fl=id,field3,field1,field2", but since some Documents do
not have field2 data in the index, the output is missing columns: (quotes are not shown for


In this example, both the 1st and 2nd Document are missing "field2" data, so 'field2' is not
even appearing in the header of my output, and neither record is populated with a empty placeholder
for "field2".

Hopefully I'm being clear with my example.


> CSV Response Writer
> -------------------
>                 Key: SOLR-1925
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: Response Writers
>         Environment: indep. of env.
>            Reporter: Chris A. Mattmann
>             Fix For: Next
>         Attachments: SOLR-1925.Mattmann.053010.patch.2.txt, SOLR-1925.Mattmann.053010.patch.3.txt,
> As part of some work I'm doing, I put together a CSV Response Writer. It currently takes
all the docs resultant from a query and then outputs their metadata in simple CSV format.
The use of a delimeter is configurable (by default if there are multiple values for a particular
field they are separated with a | symbol).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message