Apache Lucene.Net 2.4.0 Class Library API

PositionBasedTermVectorMapper.SetExpectations Method 

Callback mechanism used by the TermVectorReader

public override void SetExpectations(
   string field,
   int numTerms,
   bool storeOffsets,
   bool storePositions
);

Parameters

field
The field being read
numTerms
The number of terms in the vector
storeOffsets
Whether offsets are available
storePositions
Whether positions are available

See Also

PositionBasedTermVectorMapper Class | Lucene.Net.Index Namespace