Thanks Karl and Daniel I am already disponing of the Searchers I am using. And regarding IndexWriter.setTermIndexInterval(), I need the indexing to be as fast as possible, is the searches where I dont need any speed and prefer to keep the memory low.
javier On 2/14/07, Daniel Naber <[EMAIL PROTECTED]> wrote:
On Wednesday 14 February 2007 17:12, jm wrote: > So my question, is it possible to disable some of the caching lucene > does so the memory consumption will be smaller (I am a bit concerned > on the memory usage side)? Or the memory savings would not pay off? You could set IndexWriter.setTermIndexInterval() to a value larger than the default (128). Thus Lucene will use less memory for its term list index in memory. 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]