lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantyn Smirnov <>
Subject RAMDirectory and expungeDeletes()/optimize()
Date Wed, 11 Jul 2012 10:18:23 GMT
Hi all

in my app (Lucene 3.5.0 powered) I index the documents (not too many, say up
to 100k) using the RAMDirectory.
Then I need to send the segment over the network to be merged with the
existing index other there.

The segment need to be as "slim" as possible, e.g. without any pending
deleted documents. 

My code looks like

Is this a legitimate way to do that? 
Doesn't it conflict with the JavaDoc saying:


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