Overload List

  NameDescription
Public methodTermPositions()()()()
Returns an unpositioned {@link TermPositions} enumerator.
Public methodTermPositions(Term)
Returns an enumeration of all the documents which contain
CopyC#
term
. For each document, in addition to the document number and frequency of the term in that document, a list of all of the ordinal positions of the term in the document is available. Thus, this method implements the mapping:

    Term    =>    <docNum, freq, <pos1, pos2, ... posfreq-1> >*

This positional information facilitates phrase and proximity searching.

The enumeration is ordered by document number. Each document number is greater than all that precede it in the enumeration.

See Also