useCompoundFile
open override fun useCompoundFile(segments: SegmentInfos, newSegment: SegmentCommitInfo, mergeContext: MergePolicy.MergeContext): Boolean
Returns true if a new segment (regardless of its origin) should use the compound file format. The default implementation returns true iff the size of the given mergedInfo is less or equal to .getMaxCFSSegmentSizeMB and the size is less or equal to the TotalIndexSize * .getNoCFSRatio otherwise false.