Method GetTermFreqVector
GetTermFreqVector(Int32, String)
Return a term frequency vector for the specified document and field. The
vector returned contains term numbers and frequencies for all terms in
the specified field of this document, if the field had storeTermVector
flag set. If the flag was not set, the method returns null.
Declaration
public override ITermFreqVector GetTermFreqVector(int docNumber, String field)
Parameters
Type |
Name |
Description |
System.Int32 |
docNumber |
|
System.String |
field |
|
Returns
GetTermFreqVector(Int32, String, TermVectorMapper)
Declaration
public override void GetTermFreqVector(int docNumber, String field, TermVectorMapper mapper)
Parameters
Type |
Name |
Description |
System.Int32 |
docNumber |
|
System.String |
field |
|
TermVectorMapper |
mapper |
|
GetTermFreqVector(Int32, TermVectorMapper)
Declaration
public override void GetTermFreqVector(int docNumber, TermVectorMapper mapper)
Parameters
Overrides