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