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: Optimize completely in memory with a FSDirectory?
Date Wed, 05 Apr 2006 18:22:34 GMT
On Mittwoch 05 April 2006 13:02, Max Pfingsthorn wrote:

> The setMaxBufferedDocs and related parameters help a lot already to
> fully exploit my RAM when indexing, but since I'm running a fairly small
> index of around 40000 docs and I'm optimizing it relatively often, I was
> wondering if there is any way to enforce complete in-memory
> optimization.

Maybe you could use a RAMDirectory and write it to disk using 
IndexWriter.addIndexes() from time to time?

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