Callback mechanism used by the TermVectorReader

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public override void SetExpectations(
	string field,
	int numTerms,
	bool storeOffsets,
	bool storePositions
)
Visual Basic
Public Overrides Sub SetExpectations ( _
	field As String, _
	numTerms As Integer, _
	storeOffsets As Boolean, _
	storePositions As Boolean _
)
Visual C++
public:
virtual void SetExpectations(
	String^ field, 
	int numTerms, 
	bool storeOffsets, 
	bool storePositions
) override

Parameters

field
Type: System..::..String
The field being read
numTerms
Type: System..::..Int32
The number of terms in the vector
storeOffsets
Type: System..::..Boolean
Whether offsets are available
storePositions
Type: System..::..Boolean
Whether positions are available

See Also