Also, keep in mind that optimization is a very disk intense process (and therefore slow). It completely rewrites the index, and should only be done when you are not expecting the index to change for a while.
-----Original Message----- From: "Daniel Naber" <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2008 4:59pm To: java-user@lucene.apache.org Subject: Re: Lucene performance issues.. On Sonntag, 27. Juli 2008, Mazhar Lateef wrote: > We have also tried upgrading the lucene version to 2.3 in hope to > improve performance but the results were quite the opposite. but from my > research on the internet the Lucene version 2.3 is much faster and > better so why are we seeing such inconsistency. Have you checked out these pages? http://wiki.apache.org/lucene-java/ImproveIndexingSpeed http://wiki.apache.org/lucene-java/ImproveSearchingSpeed Even a large index should be fast, assuming the queries are not complicated. Also, with a large index the performance depends on the number of matches, i.e. searching for very common terms might be slow. Maybe you could post more information about your queries. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]