Hello,

I'm investigating procedures in Solr when Solr gets
commit/optimize command for my customer.

I think I can understand the role of waitSearcher flag,
but I cannot understand waitFlush flag.
Solr wiki says:

waitFlush = "true" | "false" ― default is true ― block until index
changes are flushed to disk

I understand this explanation, but I couldn't see the code snippet for this
at XmlUpdateRequestHandler and DirectUpdateHandler2.
In other words, I cannot see any difference between:

<commit waitFlush="false" waitSearcher="false"/>

and

<commit waitFlush="true" waitSearcher="false"/>

Maybe I'm wrong. I appreciate it if someone could give me a right direction.
We use trunk version.

Thanks in advance,

Koji


Reply via email to