Map the Term Vector information into your own structure

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

Syntax

C#
public abstract void Map(
	string term,
	int frequency,
	TermVectorOffsetInfo[] offsets,
	int[] positions
)
Visual Basic
Public MustOverride Sub Map ( _
	term As String, _
	frequency As Integer, _
	offsets As TermVectorOffsetInfo(), _
	positions As Integer() _
)
Visual C++
public:
virtual void Map(
	String^ term, 
	int frequency, 
	array<TermVectorOffsetInfo^>^ offsets, 
	array<int>^ positions
) abstract

Parameters

term
Type: System..::..String
The term to add to the vector
frequency
Type: System..::..Int32
The frequency of the term in the document
offsets
Type: array<Lucene.Net.Index..::..TermVectorOffsetInfo>[]()[][]
null if the offset is not specified, otherwise the offset into the field of the term
positions
Type: array<System..::..Int32>[]()[][]
null if the position is not specified, otherwise the position in the field of the term

See Also