termPositionsCost

Returns an expected cost in simple operations of processing the occurrences of a term in a document that contains the term. This is for use by TwoPhaseIterator.matchCost implementations.

Parameters

termsEnum

The term is the term at which this TermsEnum is positioned.