lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1925) CSV Response Writer
Date Thu, 10 Jun 2010 15:28:15 GMT

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

Chris A. Mattmann commented on SOLR-1925:
-----------------------------------------

Hi Kevin,

Thanks for the feedback! :)

I hear ya on the annoying part. Right now the CSVResponseWriter has the following behavior:

* if you define output fields using fl=field1,field2 as part of your SOLR url request, then
you can control the way columns are displayed and ensure that there is a uniform set of columns
output in the CSV based on your indexed documents
* if you don't define output fields, the response writer simple assumes that your documents
indexed have uniform fields and will try and simply write the output fields based on those
fields indexed per document

The assumption might be limiting, but I it was the best I could think of in the case that
the requested output cols aren't uniformly specified.

HTH clarify what you're seeing! Of course, ideas for improvement are always welcome.

Cheers,
Chris


> CSV Response Writer
> -------------------
>
>                 Key: SOLR-1925
>                 URL: https://issues.apache.org/jira/browse/SOLR-1925
>             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,
SOLR-1925.Mattmann.053010.patch.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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message