getDocCount

fun getDocCount(reader: IndexReader, field: String): Int

Return the cumulated number of docs that have points across all leaves of the given [ ]. Leaves that do not have points for the given field are ignored.

See also