Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    PrefixAndSuffixAwareTokenFilter
    Implements
    IDisposable
    Inherited Members
    TokenStream.Dispose()
    AttributeSource.GetAttributeFactory()
    AttributeSource.GetAttributeClassesEnumerator()
    AttributeSource.GetAttributeImplsEnumerator()
    AttributeSource.AddAttributeImpl(Attribute)
    AttributeSource.AddAttribute<T>()
    AttributeSource.HasAttributes
    AttributeSource.HasAttribute<T>()
    AttributeSource.GetAttribute<T>()
    AttributeSource.ClearAttributes()
    AttributeSource.CaptureState()
    AttributeSource.RestoreState(AttributeSource.State)
    AttributeSource.GetHashCode()
    AttributeSource.Equals(Object)
    AttributeSource.ReflectAsString(Boolean)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    Namespace: Lucene.Net.Analysis.Miscellaneous
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class PrefixAndSuffixAwareTokenFilter : TokenStream, IDisposable

    Constructors

    | Improve this Doc View Source

    PrefixAndSuffixAwareTokenFilter(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 Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    End()

    Declaration
    public override void End()
    Overrides
    TokenStream.End()
    | Improve this Doc View Source

    IncrementToken()

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    Overrides
    TokenStream.IncrementToken()
    | Improve this Doc View Source

    Reset()

    Declaration
    public override void Reset()
    Overrides
    TokenStream.Reset()
    | Improve this Doc View Source

    UpdateInputToken(Token, Token)

    Declaration
    public virtual Token UpdateInputToken(Token inputToken, Token lastPrefixToken)
    Parameters
    Type Name Description
    Token inputToken
    Token lastPrefixToken
    Returns
    Type Description
    Token
    | Improve this Doc View Source

    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

    IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)