Method GetTermFreqVectors
GetTermFreqVectors(Int32)
Return an array of term frequency vectors for the specified document. The array contains a vector for each vectorized field in the document. Each vector contains terms and frequencies for all terms in a given vectorized field. If no such fields existed, the method returns null. The term vectors that are returned may either be of type ITermFreqVector or of type TermPositionVector if positions or offsets have been stored.
Declaration
public abstract ITermFreqVector[] GetTermFreqVectors(int docNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docNumber | document for which term frequency vectors are returned |
Returns
Type | Description |
---|---|
ITermFreqVector[] | array of term frequency vectors. May be null if no term vectors have been stored for the specified document. |