Joins two token streams and leaves the last token of the first stream available
to be used when updating the token values in the second stream based on that token.
The default implementation adds last prefix token end offset to the suffix token start and end offsets.
NOTE: This filter might not behave correctly if used with custom Attributes, i.e. Attributes other than
the ones located in Lucene.Net.Analysis.TokenAttributes.
Namespace: Lucene.Net.Analyzers.MiscellaneousAssembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)
Syntax
C# |
---|
public class PrefixAwareTokenFilter : TokenStream |
Visual Basic |
---|
Public Class PrefixAwareTokenFilter _ Inherits TokenStream |
Visual C++ |
---|
public ref class PrefixAwareTokenFilter : public TokenStream |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analyzers.Miscellaneous..::..PrefixAwareTokenFilter
Lucene.Net.Analyzers.Miscellaneous..::..InjectablePrefixAwareTokenFilter
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analyzers.Miscellaneous..::..PrefixAwareTokenFilter
Lucene.Net.Analyzers.Miscellaneous..::..InjectablePrefixAwareTokenFilter