range

fun range(minDoc: Int, maxDoc: Int): DocIdSetIterator

A DocIdSetIterator that matches a range documents from minDocID (inclusive) to maxDocID (exclusive).