Returns an enumeration of all the documents which contain
. 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:
Namespace: Lucene.Net.IndexCopyC#
term
-
Term => <docNum, freq>*
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual TermDocs TermDocs( Term term ) |
Visual Basic |
---|
Public Overridable Function TermDocs ( _ term As Term _ ) As TermDocs |
Visual C++ |
---|
public: virtual TermDocs^ TermDocs( Term^ term ) |
Parameters
- term
- Type: Lucene.Net.Index..::..Term
[Missing <param name="term"/> documentation for "M:Lucene.Net.Index.IndexReader.TermDocs(Lucene.Net.Index.Term)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.TermDocs(Lucene.Net.Index.Term)"]