Method Map
Map(String, Int32, TermVectorOffsetInfo[], Int32[])
Map the Term Vector information into your own structure
Declaration
public abstract void Map(String term, int frequency, TermVectorOffsetInfo[] offsets, int[] positions)
Parameters
Type | Name | Description |
---|---|---|
System. |
term | The term to add to the vector |
System. |
frequency | The frequency of the term in the document |
Term |
offsets | null if the offset is not specified, otherwise the offset into the field of the term |
System. |
positions | null if the position is not specified, otherwise the position in the field of the term |