Just like {@link #getPositionIncrementGap}, except for
Token offsets instead. By default this returns 1 for
tokenized fields and, as if the fields were joined
with an extra space character, and 0 for un-tokenized
fields. This method is only called if the field
produced at least one token for indexing.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Visual Basic |
---|
Public Overridable Function GetOffsetGap ( _
field As Fieldable _
) As Integer |
Visual C++ |
---|
public:
virtual int GetOffsetGap(
Fieldable^ field
) |
Return Value
offset gap, added to the next token emitted from {@link #TokenStream(String,Reader)}
See Also