makeSegmentCommitInfo

fun makeSegmentCommitInfo(name: String, maxDoc: Int, numDeletedDocs: Int, sizeMB: Double, source: String): SegmentCommitInfo

Make a new SegmentCommitInfo with the given maxDoc, numDeletedDocs and sizeInBytes, which are usually the numbers that merge policies care about.