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]