Tell the mapper what to expect in regards to field, number of terms, offset and position storage. This method will be called once before retrieving the vector for a field. This method will be called before {@link #Map(String,int,TermVectorOffsetInfo[],int[])}.
public abstract void SetExpectations( stringfield, intnumTerms, boolstoreOffsets, boolstorePositions );
Parameters
field
The field the vector is for
numTerms
The number of terms that need to be mapped
storeOffsets
true if the mapper should expect offset information