msokolov opened a new pull request #580: LUCENE-8700: IndexWriter.yield()
URL: https://github.com/apache/lucene-solr/pull/580
 
 
   This provides a new `IndexWriter.yield()` method, and adds testing for it to 
`RandomIndexWriter` which will now use `yield()` to flush concurrently during 
`commit()`. I also added a flag for disabling this behavior. I'm not sure if 
it's needed though, since no tests failed I pulled out the flushing logic from 
`DocumentupdateDocument` into a standalone method `flushPending` - I initially 
wanted to refactor and share but the code doesn't lend itself to that without 
adding arguments to these methods, and it wasn't clear the result would be 
better.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to