lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jm <jmugur...@gmail.com>
Subject Re: possible to disable internal caching?
Date Wed, 21 Feb 2007 13:52:37 GMT
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 <lucenelist2005@danielnaber.de> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
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