setMaxFullFlushMergeWaitMillis
Expert: sets the amount of time to wait for merges (during IndexWriter.commit or ) returned by MergePolicy.findFullFlushMerges(...). If this time is reached, we proceed with the commit based on segments merged up to that point. The merges are not aborted, and will still run to completion independent of the commit or getReader call, like natural segment merges. The default is {@value IndexWriterConfig#DEFAULT_MAX_FULL_FLUSH_MERGE_WAIT_MILLIS}.
Note: Which segments would get merged depends on the implementation of
Note: Set to 0 to disable merging on full flush.
Note: If SerialMergeScheduler is used and a non-zero timout is configured, full-flush merges will always wait for the merge to finish without honoring the configured timeout.