lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Griffin" <jgrif...@thebluezone.net>
Subject RE: Index optimization ...
Date Tue, 29 Jul 2008 02:26:16 GMT
Use IndexWriter.setRAMBufferSizeMB(double mb) and you won't have to
sacrifice anything. It defaults to 16.0 MB so depending on the size of your
index you may want to make it larger. Do some testing at various values to
see where the sweet spot is. 

John G.

-----Original Message-----
From: Dragon Fly [mailto:dragon-fly999@hotmail.com] 
Sent: Monday, July 28, 2008 12:00 PM
To: java-user@lucene.apache.org
Subject: Index optimization ...

I'd like to shorten the time it takes to optimize my index and am willing to
sacrifice search and indexing performance.  Which parameters (e.g. merge
factor) should I change? Thank you.

_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messeng
er2_072008


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


Mime
View raw message