lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: RAMDirectory and expungeDeletes()/optimize()
Date Wed, 11 Jul 2012 13:18:02 GMT
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 <injecteer@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

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