Method SetExpectations
SetExpectations(String, Int32, Boolean, Boolean)
Callback mechanism used by the TermVectorReader
Declaration
public override void SetExpectations(String field, int numTerms, bool storeOffsets, bool storePositions)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | The field being read |
System.Int32 | numTerms | The number of terms in the vector |
System.Boolean | storeOffsets | Whether offsets are available |
System.Boolean | storePositions | Whether positions are available |