Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 1291 invoked from network); 21 Jun 2009 16:18:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jun 2009 16:18:32 -0000 Received: (qmail 36086 invoked by uid 500); 21 Jun 2009 16:18:42 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 35999 invoked by uid 500); 21 Jun 2009 16:18:42 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 35991 invoked by uid 99); 21 Jun 2009 16:18:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 16:18:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 16:18:31 +0000 Received: by an-out-0708.google.com with SMTP id b6so1160200ana.5 for ; Sun, 21 Jun 2009 09:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uHZ3DplvNKQI2u70wxAYWz1thvZLjByoVM7sEYhSzH4=; b=YxE0WtWHiwfjGJt37vYPicTZNnTkOaXhZ5h6yOKhLVsBZpmw0IkwosZzrK1m7X9x/y LRJduyN1NfBLmD657WVowjgUhk+Cs2KLt2nulyv/HoAAp4894D3ewC80uiEYPKMFCS2A MEUvnseLkwCS61b15QShkvATOoO5h21i2PN/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=Mi1KBn6FdKQSl0SnjKulJvsOnAIKIBfprg0QIv4cKF+fci/3OrLAKkq8hi4g0XNh24 TaybWt4i4bSPFCEe0yAt8sc5/33NOE7vCk0vnMoGr+1XP4RUg0A8r4jHW39g2paRhh5Z 0Ijp0mP5UqxsO64OaQlBa1rh8ZOEYXxjnf8m8= MIME-Version: 1.0 Received: by 10.100.38.5 with SMTP id l5mr6664255anl.183.1245601090154; Sun, 21 Jun 2009 09:18:10 -0700 (PDT) Reply-To: simon.willnauer@gmail.com In-Reply-To: <9DD88A026AE64C089A7A80DF44EFB660@VEGA> References: <176776ee0906202210g171bce00mfb311caf44a62919@mail.gmail.com> <7F9E484B-F7B3-4E99-9BFF-C064309FDB30@apache.org> <21226C8BD5F84BB8BC467E5BB9C6C129@VEGA> <9DD88A026AE64C089A7A80DF44EFB660@VEGA> Date: Sun, 21 Jun 2009 18:18:10 +0200 Message-ID: Subject: Re: 3MB lucene-analyzers.jar? From: Simon Willnauer To: java-dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Jun 21, 2009 at 4:27 PM, Uwe Schindler wrote: > To do this you must also split up the class files, how to do that? So > package analysis/cn/ to somewhere else? And when doing this, be sure, to > handle the resources folder correctly, because some stopwords.txt files for > some analyzers and the big data files must also be split (same split with > file path). sure > > And: contrib's build.xml files do not contain a jar task, they use it from > the contrib-build.xml one directory above, so the changes will be even more > complicated than splitting into two contribs. > will override it. > But: I do not understand the problems with this JAR file. If somebody really > wants to have smaller files, one could use some tools, that do it > automatically on class usage. > I personally have a couple of usecases for that as I have to work in very limited environments. Imagine embedded systems or mobile phones where 500 kb is a lot. if you realy need the analyzer you can include the additional jar. simon > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de > >> -----Original Message----- >> From: Simon Willnauer [mailto:simon.willnauer@googlemail.com] >> Sent: Sunday, June 21, 2009 4:15 PM >> To: java-dev@lucene.apache.org >> Subject: Re: 3MB lucene-analyzers.jar? >> >> What if we just build two jars? I guess it would make sense to keep it >> in this contrib module. >> I would do the changes to build.xml. >> >> simon >> >> On Sun, Jun 21, 2009 at 4:11 PM, Uwe Schindler wrote: >> > Hi Grant, >> > >> > I think Ryan means that the analyzer.jar file is 3.5 MB and he would >> like to >> > split it up into two different ones. With our current architecture, this >> > would only be possible, if the SmartChineseAnalyzer moves into its own >> > contrib. This analyzer needs a lot of data files in the classpath (see >> > LUCENE-1629). >> > >> > Uwe >> > >> > ----- >> > Uwe Schindler >> > H.-H.-Meier-Allee 63, D-28213 Bremen >> > http://www.thetaphi.de >> > eMail: uwe@thetaphi.de >> > >> >> -----Original Message----- >> >> From: Grant Ingersoll [mailto:gsingers@apache.org] >> >> Sent: Sunday, June 21, 2009 2:32 PM >> >> To: java-dev@lucene.apache.org >> >> Subject: Re: 3MB lucene-analyzers.jar? >> >> >> >> contrib/analyzers is already it's own jar, or am I missing something? >> >> >> >> On Jun 21, 2009, at 1:10 AM, Ryan McKinley wrote: >> >> >> >> > With the added analyzer for LUCENE-1629, it seems the jar file is >> >> > now ~3.5MB. >> >> > >> >> > Given the size, does it make sense to put it in its own jar file? >> >> > That way programs can easily exclude it if space is a concern. >> >> > >> >> > thanks >> >> > ryan >> >> > >> >> > --------------------------------------------------------------------- >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org >> >> > >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> > For additional commands, e-mail: java-dev-help@lucene.apache.org >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-dev-help@lucene.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org