Will Zhang

Results 2 issues of Will Zhang

In bulk_indexer.go, I see logic below: ``` func (w *worker) run() { go func() { ... if err := w.flush(ctx); err != nil { w.mu.Unlock() if w.bi.config.OnError != nil {...

https://github.com/apache/lucene/blob/84cae4f27cfd3feb3bb42d5a9f7ce034f7a31573/lucene/core/src/java/org/apache/lucene/index/ReadersAndUpdates.java#L264 ``` public synchronized void dropChanges() { // Discard (don't save) changes when we are dropping // the reader; this is used only on the sub-readers // after a successful...