size

fun size(reader: IndexReader, field: String): Long

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

See also