Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A9B3871F for ; Fri, 26 Aug 2011 09:55:08 +0000 (UTC) Received: (qmail 41471 invoked by uid 500); 26 Aug 2011 09:55:06 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 41045 invoked by uid 500); 26 Aug 2011 09:54:59 -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 40739 invoked by uid 99); 26 Aug 2011 09:54:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 09:54:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 09:54:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0F1ECD0A9C for ; Fri, 26 Aug 2011 09:54:29 +0000 (UTC) Date: Fri, 26 Aug 2011 09:54:29 +0000 (UTC) From: "Lance Norskog (JIRA)" To: dev@lucene.apache.org Message-ID: <1915208500.17211.1314352469058.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1708611889.13883.1314287130799.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2731) CSVResponseWriter should optionally return numfound MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091697#comment-13091697 ] Lance Norskog commented on SOLR-2731: ------------------------------------- -1 * When you do the same query twice, the second time it usually takes 0ms. If it doesn't, turn on query caching. * You can code these variations with Velocity. I would stick with keeping the very simplest CSV output and then coding any additions yourself. > CSVResponseWriter should optionally return numfound > --------------------------------------------------- > > Key: SOLR-2731 > URL: https://issues.apache.org/jira/browse/SOLR-2731 > Project: Solr > Issue Type: Improvement > Components: Response Writers > Affects Versions: 3.1, 3.3, 4.0 > Reporter: Jon Hoffman > Labels: patch > Fix For: 3.1.1, 3.3, 4.0 > > Attachments: SOLR-2731.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > an optional parameter "csv.numfound=true" can be added to the request which causes the first line of the response to be the numfound. This would have no impact on existing behavior, and those who are interested in that value can simply read off the first line before sending to their usual csv parser. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org