lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: NRT consistency
Date Sun, 10 Apr 2011 17:34:54 GMT
That's a neat question (how to replicate index changes from opening a
new NRT reader).

The good news, the segments are flushed "like normal", so they can be
replicated to the mirror(s).

But the bad news is, the segments file is not written to disk -- it's
held only in RAM (inside IW and shared to the IR that's opened), as a
SegmentInfos instance, so somehow replication would have to get this
in-memory segments file over to the mirrors, too.


On Sun, Apr 10, 2011 at 4:34 AM, Em <> wrote:
> Hello list,
> I am currently trying to understand Lucene's Near-Real-Time-Feature which
> was covered in "Lucene in Action, Second Edition".
> Let's say I got a distributed system with a master and a slave.
> In Solr replication is solved by checking for any differences in the
> index-directory and to consume those differences to keep indices consistent.
> How is this possible within a NRT-System? Is there any possibility to
> consume snapshots of the internal buffer of the index writer to send them to
> the slave?
> Regards,
> Em
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message