Re: Soft commits and segments

2015-03-30 Thread Erick Erickson
Robert, thanks a bunch, your comment got me looking in the right place I'm seeing what I expect now. I can at least try to explain it without stumbling too much.. Thanks again! Erick On Mon, Mar 30, 2015 at 5:24 PM, Robert Muir wrote: > Yes, pending docs buffered in indexwriter are flushed when

Re: Soft commits and segments

2015-03-30 Thread Robert Muir
Yes, pending docs buffered in indexwriter are flushed when you reopen. one way to avoid revising your model is to use NRTCachingDirectory. When properly configured this can defer the writes to the filesystem until they truly really need to be there, e.g. indexwriter.commit. On Mon, Mar 30, 2015 a