Final touch of a shingle token before it is passed on to the consumer from method {@link #next(org.apache.lucene.analysis.Token)}.
Calculates and sets type, flags, position increment, start/end offsets and weight.
Namespace: Lucene.Net.Analyzers.ShingleAssembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)
Syntax
C# |
---|
public void UpdateToken(
Token token,
List<Token> shingle,
int currentPermutationStartOffset,
List<Row> currentPermutationRows,
List<Token> currentPermuationTokens
) |
Visual Basic |
---|
Public Sub UpdateToken ( _
token As Token, _
shingle As List(Of Token), _
currentPermutationStartOffset As Integer, _
currentPermutationRows As List(Of Row), _
currentPermuationTokens As List(Of Token) _
) |
Visual C++ |
---|
public:
void UpdateToken(
Token^ token,
List<Token^>^ shingle,
int currentPermutationStartOffset,
List<Row^>^ currentPermutationRows,
List<Token^>^ currentPermuationTokens
) |
See Also