lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: possible to disable internal caching?
Date Wed, 14 Feb 2007 19:46:11 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message