Returns an array of positions in which the term is found. Terms are identified by the index at which its number appears in the term String array obtained from the
CopyC#
indexOf
method. May return null if positions have not been stored.

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

Syntax

C#
int[] GetTermPositions(
	int index
)
Visual Basic
Function GetTermPositions ( _
	index As Integer _
) As Integer()
Visual C++
array<int>^ GetTermPositions(
	int index
)

Parameters

index
Type: System..::..Int32

[Missing <param name="index"/> documentation for "M:Lucene.Net.Index.TermPositionVector.GetTermPositions(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.TermPositionVector.GetTermPositions(System.Int32)"]

See Also