Return an index in the term numbers array returned from
CopyC#
getTerms
at which the term with the specified
CopyC#
term
appears. If this term does not appear in the array, return -1.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
int IndexOf(
	string term
)
Visual Basic
Function IndexOf ( _
	term As String _
) As Integer
Visual C++
int IndexOf(
	String^ term
)

Parameters

term
Type: System..::..String

[Missing <param name="term"/> documentation for "M:Lucene.Net.Index.TermFreqVector.IndexOf(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.TermFreqVector.IndexOf(System.String)"]

See Also