You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Weir, Michael" <Mi...@cognos.com> on 2004/01/29 15:00:28 UTC
Performance difference between 1.2 and 1.3?
I am fairly new to Lucene and I have noticed a difference between Lucene
1.2RC1 (which came with our build of Cocoon) and the new Lucene 1.3Final.
I am indexing about 400 very small documents, each in 10 languages. The
document contents are basically a product name and description. With Lucene
1.2 my little test takes about 13.2 seconds and when I change to using the
Lucene 1.3 jar file the test takes 38 seconds. I am not using the Snowball
stemmers, and my code is as vanilla as it gets (I think).
Is this a known problem? Or is there a known fix?
Thanks for any help.
Michael Weir · Transform Research Inc. · 613.238.1363 x.114
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.
Re: Performance difference between 1.2 and 1.3?
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jan 29, 2004, at 9:00 AM, Weir, Michael wrote:
> I am fairly new to Lucene and I have noticed a difference between
> Lucene
> 1.2RC1 (which came with our build of Cocoon) and the new Lucene
> 1.3Final.
>
> I am indexing about 400 very small documents, each in 10 languages.
> The
> document contents are basically a product name and description. With
> Lucene
> 1.2 my little test takes about 13.2 seconds and when I change to using
> the
> Lucene 1.3 jar file the test takes 38 seconds. I am not using the
> Snowball
> stemmers, and my code is as vanilla as it gets (I think).
>
> Is this a known problem? Or is there a known fix?
There is no known issue. Could you provide an easy-to-run example that
demonstrates this difference in speed?
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Performance difference between 1.2 and 1.3?
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hello,
This is not a known problem.
The mention of Cocoon makes me think XML.
What format are your documents in?
If they are in XML, the first place to look for performance-related
problems is the XML parser. It looks like you got a new version of
Cocoon, so maybe this new version includes a different (version of a)
XML parser.
Otis
--- "Weir, Michael" <Mi...@cognos.com> wrote:
> I am fairly new to Lucene and I have noticed a difference between
> Lucene
> 1.2RC1 (which came with our build of Cocoon) and the new Lucene
> 1.3Final.
>
> I am indexing about 400 very small documents, each in 10 languages.
> The
> document contents are basically a product name and description. With
> Lucene
> 1.2 my little test takes about 13.2 seconds and when I change to
> using the
> Lucene 1.3 jar file the test takes 38 seconds. I am not using the
> Snowball
> stemmers, and my code is as vanilla as it gets (I think).
>
> Is this a known problem? Or is there a known fix?
>
> Thanks for any help.
>
> Michael Weir � Transform Research Inc. � 613.238.1363 x.114
>
>
> This message may contain privileged and/or confidential information.
> If you
> have received this e-mail in error or are not the intended recipient,
> you
> may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and notify the
> sender
> promptly by e-mail that you have done so. Thank you.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org