Re: possible to disable internal caching?

2007-02-21 Thread jm
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 PROT

Re: possible to disable internal caching?

2007-02-14 Thread Daniel Naber
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.setTermIndex

Re: possible to disable internal caching?

2007-02-14 Thread karl wettin
14 feb 2007 kl. 17.12 skrev jm: 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 try to create a new Searcher for each query,

possible to disable internal caching?

2007-02-14 Thread jm
Hi, That last thread about caching reminded me of something. Me need is actually the opposite... I use lucene to search in hundreds/thousands of indexes. Doing a lucene query on a set of the indexes is only one of the steps involved in my 'queries', and some of the other steps take longer than l