Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 81689 invoked from network); 14 Mar 2011 10:40:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 10:40:52 -0000 Received: (qmail 22542 invoked by uid 500); 14 Mar 2011 10:40:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 22487 invoked by uid 500); 14 Mar 2011 10:40:51 -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 22480 invoked by uid 99); 14 Mar 2011 10:40:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 10:40:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Mon, 14 Mar 2011 10:40:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BCA603A8A41 for ; Mon, 14 Mar 2011 10:40:29 +0000 (UTC) Date: Mon, 14 Mar 2011 10:40:29 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <110410159.423.1300099229769.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <336663308.10416.1299753719514.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (LUCENE-2958) WriteLineDocTask improvements 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/LUCENE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006378#comment-13006378 ] Michael McCandless commented on LUCENE-2958: -------------------------------------------- Patch looks great! Some small things: * I think we should throw an exc if any of the field names contain the SEP char? * Can we name it "parseLine" instead of "readLine"? Ie, the line has already been read (from the file); what remains is to parse it (and, as a side effect, change DocData to reflect that parsing). * Typo: sedDocData -> setDocData (in HeaderDocDataLineReader). I do think we should move to all line files having the field header line (w/ back compat handled for existing line files out there). The approach in the patch looks great -- the [common] fixed case of just title/date/body that we have today is specialized and should still be fast (SimpleDocDataLineReader). > WriteLineDocTask improvements > ----------------------------- > > Key: LUCENE-2958 > URL: https://issues.apache.org/jira/browse/LUCENE-2958 > Project: Lucene - Java > Issue Type: Improvement > Components: contrib/benchmark > Reporter: Doron Cohen > Assignee: Doron Cohen > Priority: Minor > Fix For: 3.2, 4.0 > > Attachments: LUCENE-2958.patch, LUCENE-2958.patch, LUCENE-2958.patch, LUCENE-2958.patch > > > Make WriteLineDocTask and LineDocSource more flexible/extendable: > * allow to emit lines also for empty docs (keep current behavior as default) > * allow more/less/other fields -- 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