Hi All,

I'm trying to understand how Solr works with disk IO during and between hard 
commits. Wish you can help me.

Let's assume Softcommit is turned off. Autocommit is turned on. 

Then during a hard commit:
 
1. The tlog is truncated: A new tlog is started. (Disk IO involved)
2. The current index segment is closed and flushed. (Disk IO involved)

Between two hard commits:
1. new added documents are hosted in Ram buffer first. (defined in solrconfig, 
ramBufferSizeMB. No Disk IO involved)
I assume this buffer actually host an open segment in ram, am I right?
2. What will happen when the ram buffer is full and the time of autocommit is 
not reached yet? Will Solr flush the segment in ram to disk anyway?

Thank you very much,
Atom

Reply via email to