lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantyn Smirnov <>
Subject Re: RAMDirectory and expungeDeletes()/optimize()
Date Tue, 21 May 2013 13:12:01 GMT
I want to refresh the topic a bit.

Using the Lucene 4.3.0, I could'n find a method like expungeDeletes() in the
IW anymore. I rely on lucence's MergePolicies to do the optimization, but I
need to keep the metadata up-to-date, docFreqs and termFreqs to name a few.

The only way to accomplish that was writer.forceMerge( 1 ), but it includes
the optimization.

Are there any other "cheaper" ways to do that?


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message