Yonik Seeley wrote:
On 1/17/07, Michael McCandless <[EMAIL PROTECTED]> wrote:
Let's call the new approach "commit on close". The idea (Doug's
suggestion from yesterday) is very simple: an IndexWriter should never
write a new segments_N file until close() is called. So a reader
never sees anything the writer is doing until the writer is closed.
Would that remain optional?
Yes. For backwards compatibility we would by default initialize
IndexWriter with autoCommit "true" (the behavior now).
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]