getDocCount

open override fun getDocCount(field: String): Int

Returns the number of documents that have at least one term for this field. Note that, just like other term measures, this measure does not take deleted documents into account.

See also

Terms.getDocCount