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 15:04:16 GMT


Kevin Black commented on SOLR-1925:

Thanks for this response writer!  
Question (not sure if this is a universal problem, or a problem with my solr install):
   if a document is missing a field value, is the CSV output missing a column?

Doc 1:  id=121; field1=string1.1; field2=string1.2; field3=string1.3
Doc 2:  id=122; field1=string2.1;  field3=string2.3    [field2 is empty with no value]
Doc 3:  id=123; field1=string3.1; field2=string3.2; field3=string3.3

my CSV output is: 


For the 2nd record, the 3rd field appears in the 2nd column which annoys the user who downloads
the CSV data  ;)

> 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