Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 12486 invoked from network); 9 Mar 2004 23:58:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Mar 2004 23:58:48 -0000 Received: (qmail 87116 invoked by uid 500); 9 Mar 2004 23:58:28 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 87082 invoked by uid 500); 9 Mar 2004 23:58:27 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 87067 invoked from network); 9 Mar 2004 23:58:27 -0000 Received: from unknown (HELO dev.sofari.com) (12.43.53.196) by daedalus.apache.org with SMTP; 9 Mar 2004 23:58:27 -0000 Received: from newsmonster.org (dsl093-132-237.sfo4.dsl.speakeasy.net [66.93.132.237]) (authenticated bits=0) by dev.sofari.com (8.12.10/8.12.10) with ESMTP id i29NwYtG021150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 9 Mar 2004 15:58:35 -0800 Message-ID: <404E51B1.3000905@newsmonster.org> Date: Tue, 09 Mar 2004 15:22:25 -0800 From: "Kevin A. Burton" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en MIME-Version: 1.0 To: Lucene Users List Subject: IndexWriter should call println not print (patch) X-Enigmail-Version: 0.83.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8D626C108CF70144EF16A258" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------enig8D626C108CF70144EF16A258 Content-Type: multipart/mixed; boundary="------------060504060105030107080806" This is a multi-part message in MIME format. --------------060504060105030107080806 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Just a small patch... the infoStream is calling print() not println() and this screws up output a big... the debug message is actually kind of nice: -- Please reply using PGP. http://peerfear.org/pubkey.asc NewsMonster - http://www.newsmonster.org/ Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965 AIM/YIM - sfburtonator, Web - http://peerfear.org/ GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster --------------060504060105030107080806 Content-Type: text/plain; name="IndexWriter.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="IndexWriter.patch" --- IndexWriter.orig 2004-03-09 15:20:01.489862371 -0800 +++ IndexWriter.java 2004-03-09 15:20:10.644342341 -0800 @@ -419,7 +419,7 @@ for (int i = minSegment; i < segmentInfos.size(); i++) { SegmentInfo si = segmentInfos.info(i); if (infoStream != null) - infoStream.print(" " + si.name + " (" + si.docCount + " docs)"); + infoStream.println(" " + si.name + " (" + si.docCount + " docs)"); IndexReader reader = new SegmentReader(si); merger.add(reader); if ((reader.directory()==this.directory) || // if we own the directory --------------060504060105030107080806 Content-Type: text/x-vcard; charset=utf8; name="burton.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="burton.vcf" begin:vcard fn:Kevin Burton n:Burton;Kevin email;internet:burton@newsmonster.org x-mozilla-html:TRUE version:2.1 end:vcard --------------060504060105030107080806-- --------------enig8D626C108CF70144EF16A258 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFATlGz6E2NBJnxRBIRArDFAJ4j+rPWk6dvZ/SJxxWxAQQsGC97IACgl5rH xQ7J7hNDw8oj28S0p0erRdI= =/yWf -----END PGP SIGNATURE----- --------------enig8D626C108CF70144EF16A258--