Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 12077 invoked from network); 15 Jul 2010 15:56:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 15:56:49 -0000 Received: (qmail 13390 invoked by uid 500); 15 Jul 2010 15:56:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 12668 invoked by uid 500); 15 Jul 2010 15:56:46 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 12528 invoked by uid 99); 15 Jul 2010 15:56:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 15:56:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 15:56:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6FFmp1K021205 for ; Thu, 15 Jul 2010 15:48:51 GMT Message-ID: <10401016.397081279208931402.JavaMail.jira@thor> Date: Thu, 15 Jul 2010 11:48:51 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1925) CSV Response Writer In-Reply-To: <24380276.34611274796264499.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888832#action_12888832 ] Robert Muir commented on SOLR-1925: ----------------------------------- bq. Good question. I haven't seen any glaring bad things that have happened in my use of it on a moderately sized dataset of around 1M documents. I dont see any code that properly "quotes the quotes". So if the data has even one double quote in it, I think the output is wrong. Personally, I think the simplest solution to many of these problems is to use a csv lib instead (preferably the same one used on the parsing side) > 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 > Assignee: Erik Hatcher > Fix For: Next > > Attachments: SOLR-1925.Chheng.071410.patch.txt, SOLR-1925.Mattmann.053010.patch.2.txt, SOLR-1925.Mattmann.053010.patch.3.txt, SOLR-1925.Mattmann.053010.patch.txt, SOLR-1925.Mattmann.061110.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