ofRange

fun ofRange(ordinals: IntRange): Bitmap

A bitmap holding every ordinal in ordinals.

Also how a complement is spelled. There is no not, because the universe a complement is taken against is the segment's document count — something the caller has and a bitmap does not:

val absent = Bitmap.ofRange(0 until documentCount).also { it.andNotWith(present) }