maxDoc

fun maxDoc(): Int

Returns number of documents in this segment (deletions are not taken into account).