Method GetOffsetGap
GetOffsetGap(String)
Just like GetPositionIncrementGap(String), except for Token offsets instead. By default this returns 1. this method is only called if the field produced at least one token for indexing.
Declaration
public virtual int GetOffsetGap(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | the field just indexed |
Returns
Type | Description |
---|---|
System.Int32 | offset gap, added to the next token emitted from GetTokenStream(String, TextReader).
this value must be |