Overload List

  NameDescription
Public methodTermDocs()()()() (Inherited from DirectoryReader.)
Public methodTermDocs(Term)
Returns an enumeration of all the documents which contain
CopyC#
term
. For each document, the document number, the frequency of the term in that document is also provided, for use in search scoring. If term is null, then all non-deleted docs are returned with freq=1. Thus, this method implements the mapping:

    Term    =>    <docNum, freq>*

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

(Inherited from IndexReader.)

See Also