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 Laxmilal Menaria <lm...@chambal.com> on 2007/09/10 14:59:39 UTC

Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0

Hello Everyone,

I have created a Index Application using Java lucene 2.0 in java and
Lucene.Net 2.0 in VB.net. Both application have same logic. But when I have
indexed a database with 14000 rows from both application and same machine, I
surprised that Java lucene took (198 Seconds) more than double time from
.net.(87 Seconds). Is there are any specific reason for that.. or any other
thing..

Also have tried with same of Java Lucene 2.2. Its also took same time..(190
Seconds)

Please let me know if any one have got same..

Thanks in advance,
Laxmilal Menaria


http://www.chambal.net/

Re: Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0

Posted by Daniel Naber <lu...@danielnaber.de>.
On Monday 10 September 2007 14:59, Laxmilal Menaria wrote:

> I have created a Index Application using Java lucene 2.0 in java and
> Lucene.Net 2.0 in VB.net. Both application have same logic. But when I
> have indexed a database with 14000 rows from both application and same
> machine, I surprised that Java lucene took (198 Seconds) more than
> double time from .net.(87 Seconds).

Have you checked that both indexed are the same size to make sure they are 
really the same? How much memory does the .net version use? Fast indexing 
is simple if you have a lot of memory.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0

Posted by Mike Klaas <mi...@gmail.com>.
On 10-Sep-07, at 5:59 AM, Laxmilal Menaria wrote:

> Hello Everyone,
>
> I have created a Index Application using Java lucene 2.0 in java and
> Lucene.Net 2.0 in VB.net. Both application have same logic. But  
> when I have
> indexed a database with 14000 rows from both application and same  
> machine, I
> surprised that Java lucene took (198 Seconds) more than double time  
> from
> .net.(87 Seconds). Is there are any specific reason for that.. or  
> any other
> thing..
>
> Also have tried with same of Java Lucene 2.2. Its also took same  
> time..(190
> Seconds)

Are you using the same index settings? (mergefactor, maxBufferedDocs,  
etc)?  Are you using StandardAnalyzer (the trunk version should be  
many times faster)?

-Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0

Posted by Mike Klaas <mi...@gmail.com>.
On 10-Sep-07, at 5:59 AM, Laxmilal Menaria wrote:

> Hello Everyone,
>
> I have created a Index Application using Java lucene 2.0 in java and
> Lucene.Net 2.0 in VB.net. Both application have same logic. But  
> when I have
> indexed a database with 14000 rows from both application and same  
> machine, I
> surprised that Java lucene took (198 Seconds) more than double time  
> from
> .net.(87 Seconds). Is there are any specific reason for that.. or  
> any other
> thing..
>
> Also have tried with same of Java Lucene 2.2. Its also took same  
> time..(190
> Seconds)

Are you using the same index settings? (mergefactor, maxBufferedDocs,  
etc)?  Are you using StandardAnalyzer (the trunk version should be  
many times faster)?

-Mike