lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantyn Smirnov <inject...@yahoo.com>
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:



TIA

--
View this message in context: http://lucene.472066.n3.nabble.com/RAMDirectory-and-expungeDeletes-optimize-tp3994350.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
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