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. |
field | The field being read |
System. |
numTerms | The number of terms in the vector |
System. |
storeOffsets | Whether offsets are available |
System. |
storePositions | Whether positions are available |