List Info

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




Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0
user name
2007-09-10 07:59:39
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
country flaguser name
Germany
2007-09-10 13:11:31
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-unsubscribelucene.apache.org
For additional commands, e-mail: java-user-helplucene.apache.org


Re: Indexing Speed using Java Lucene 2.0 and Lucene.NET 2.0
country flaguser name
Canada
2007-09-10 13:26:52
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-unsubscribelucene.apache.org
For additional commands, e-mail: java-user-helplucene.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )