Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Lucene47WordDelimiterFilter

    Old Broken version of WordDelimiterFilter

    Inheritance
    System.Object
    Lucene.Net.Util.AttributeSource
    Lucene.Net.Analysis.TokenStream
    Lucene.Net.Analysis.TokenFilter
    Lucene47WordDelimiterFilter
    Implements
    System.IDisposable
    Inherited Members
    Lucene.Net.Analysis.TokenFilter.m_input
    Lucene.Net.Analysis.TokenFilter.End()
    TokenFilter.Dispose(Boolean)
    Lucene.Net.Analysis.TokenStream.Dispose()
    Lucene.Net.Util.AttributeSource.GetAttributeFactory()
    Lucene.Net.Util.AttributeSource.GetAttributeClassesEnumerator()
    Lucene.Net.Util.AttributeSource.GetAttributeImplsEnumerator()
    Lucene.Net.Util.AttributeSource.AddAttributeImpl(Lucene.Net.Util.Attribute)
    Lucene.Net.Util.AttributeSource.AddAttribute<T>()
    Lucene.Net.Util.AttributeSource.HasAttributes
    Lucene.Net.Util.AttributeSource.HasAttribute<T>()
    Lucene.Net.Util.AttributeSource.GetAttribute<T>()
    Lucene.Net.Util.AttributeSource.ClearAttributes()
    Lucene.Net.Util.AttributeSource.CaptureState()
    Lucene.Net.Util.AttributeSource.RestoreState(Lucene.Net.Util.AttributeSource.State)
    Lucene.Net.Util.AttributeSource.GetHashCode()
    AttributeSource.Equals(Object)
    AttributeSource.ReflectAsString(Boolean)
    Lucene.Net.Util.AttributeSource.ReflectWith(Lucene.Net.Util.IAttributeReflector)
    Lucene.Net.Util.AttributeSource.CloneAttributes()
    Lucene.Net.Util.AttributeSource.CopyTo(Lucene.Net.Util.AttributeSource)
    Lucene.Net.Util.AttributeSource.ToString()
    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
    [Obsolete]
    public sealed class Lucene47WordDelimiterFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    Lucene47WordDelimiterFilter(TokenStream, WordDelimiterFlags, CharArraySet)

    Creates a new Lucene47WordDelimiterFilter using DEFAULT_WORD_DELIM_TABLE as its charTypeTable

    Declaration
    public Lucene47WordDelimiterFilter(TokenStream in, WordDelimiterFlags configurationFlags, CharArraySet protWords)
    Parameters
    Type Name Description
    Lucene.Net.Analysis.TokenStream in

    Lucene.Net.Analysis.TokenStream to be filtered

    WordDelimiterFlags configurationFlags

    Flags configuring the filter

    CharArraySet protWords

    If not null is the set of tokens to protect from being delimited

    | Improve this Doc View Source

    Lucene47WordDelimiterFilter(TokenStream, Byte[], WordDelimiterFlags, CharArraySet)

    Creates a new Lucene47WordDelimiterFilter

    Declaration
    public Lucene47WordDelimiterFilter(TokenStream in, byte[] charTypeTable, WordDelimiterFlags configurationFlags, CharArraySet protWords)
    Parameters
    Type Name Description
    Lucene.Net.Analysis.TokenStream in

    Lucene.Net.Analysis.TokenStream to be filtered

    System.Byte[] charTypeTable

    table containing character types

    WordDelimiterFlags configurationFlags

    Flags configuring the filter

    CharArraySet protWords

    If not null is the set of tokens to protect from being delimited

    Fields

    | Improve this Doc View Source

    ALPHA

    Declaration
    public const int ALPHA = 3
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ALPHANUM

    Declaration
    public const int ALPHANUM = 7
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DIGIT

    Declaration
    public const int DIGIT = 4
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LOWER

    Declaration
    public const int LOWER = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SUBWORD_DELIM

    Declaration
    public const int SUBWORD_DELIM = 8
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    UPPER

    Declaration
    public const int UPPER = 2
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    IncrementToken()

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

    Reset()

    This method is called by a consumer before it begins consumption using IncrementToken().

    Resets this stream to a clean state. Stateful implementations must implement this method so that they can be reused, just as if they had been created fresh.

    If you override this method, always call base.Reset(), otherwise some internal state will not be correctly reset (e.g., Lucene.Net.Analysis.Tokenizer will throw System.InvalidOperationException on further usage).

    Declaration
    public override void Reset()
    Overrides
    Lucene.Net.Analysis.TokenFilter.Reset()
    Remarks

    NOTE: The default implementation chains the call to the input Lucene.Net.Analysis.TokenStream, so be sure to call base.Reset() when overriding this method.

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.