partition

fun partition(config: BKDConfig, maxDoc: Int, splitDim: Int, commonPrefixLen: Int, reader: MutablePointTree, from: Int, to: Int, mid: Int, scratch1: BytesRef, scratch2: BytesRef)

Partition points around mid. All values on the left must be less than or equal to it and all values on the right must be greater than or equal to it.