msokolov commented on a change in pull request #1552: URL: https://github.com/apache/lucene-solr/pull/1552#discussion_r439657240
########## File path: lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java ########## @@ -109,6 +110,9 @@ /** Default value for whether calls to {@link IndexWriter#close()} include a commit. */ public final static boolean DEFAULT_COMMIT_ON_CLOSE = true; + + /** Default value for time to wait for merges on commit (when using a {@link MergePolicy} that implements findFullFlushMerges). */ + public static final double DEFAULT_MAX_COMMIT_MERGE_WAIT_SECONDS = 30.0; Review comment: The `success=true` added above was needed in order to fix a test failure caught by @dnhatn 's new unit test (testRandomOperations), so they belong together. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org