freq

open override fun freq(): Int

Returns term frequency in the current document, or 1 if the field was indexed with . Do not call this before .nextDoc is first called, nor after .nextDoc returns DocIdSetIterator.NO_MORE_DOCS.

NOTE: if the PostingsEnum was obtain with .NONE, the result of this method is undefined.


var freq: Int