[EMAIL PROTECTED] wrote:

This isn't quite true. If you open IndexWriter with autoCommit=false,
then none of the changes you do with it will be visible to an
IndexReader, even one reopened while IndexWriter is doing its work,
until you close the IndexWriter.

Where are the docs for this transaction buffered? In RAM or on disk?

Both.

Pending adds/deletes are buffered in RAM. Once the RAM buffer is full, a flush is triggered and a new segment, plus any deletes, are written to disk.

But that segment is not referenced by a segments_N file until a commit is done.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to