lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: 3MB lucene-analyzers.jar?
Date Sun, 21 Jun 2009 16:18:10 GMT
On Sun, Jun 21, 2009 at 4:27 PM, Uwe Schindler<uwe@thetaphi.de> 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<uwe@thetaphi.de> 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


Mime
View raw message