totalTermFreq

open override fun totalTermFreq(term: Term): Long

Returns the number of documents containing the term t. This method returns 0 if the term or field does not exists. This method does not take into account deleted documents that have not yet been merged away.