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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to