There are blanks at the important places (your code, and which JavaDoc) in your email!
Mike McCandless http://blog.mikemccandless.com On Wed, Jul 11, 2012 at 6:18 AM, Konstantyn Smirnov <inject...@yahoo.com> wrote: > 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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org