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[])}.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public abstract void SetExpectations(
string field,
int numTerms,
bool storeOffsets,
bool storePositions
) |
Visual Basic |
---|
Public MustOverride 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
) abstract |
See Also