Class PrefixAndSuffixAwareTokenFilter
Links two PrefixAwareTokenFilter.
NOTE: This filter might not behave correctly if used with custom IAttributes, i.e. IAttributes other than the ones located in Lucene.Net.Analysis.TokenAttributes.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class PrefixAndSuffixAwareTokenFilter : TokenStream, IDisposable
Constructors
| Improve this Doc View SourcePrefixAndSuffixAwareTokenFilter(TokenStream, TokenStream, TokenStream)
Declaration
public PrefixAndSuffixAwareTokenFilter(TokenStream prefix, TokenStream input, TokenStream suffix)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | prefix | |
TokenStream | input | |
TokenStream | suffix |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceEnd()
Declaration
public override void End()
Overrides
| Improve this Doc View SourceIncrementToken()
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
| Improve this Doc View SourceUpdateInputToken(Token, Token)
Declaration
public virtual Token UpdateInputToken(Token inputToken, Token lastPrefixToken)
Parameters
Type | Name | Description |
---|---|---|
Token | inputToken | |
Token | lastPrefixToken |
Returns
Type | Description |
---|---|
Token |
UpdateSuffixToken(Token, Token)
Declaration
public virtual Token UpdateSuffixToken(Token suffixToken, Token lastInputToken)
Parameters
Type | Name | Description |
---|---|---|
Token | suffixToken | |
Token | lastInputToken |
Returns
Type | Description |
---|---|
Token |
Implements
System.IDisposable