Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MappingCharFilter

    Simplistic Lucene.Net.Analysis.CharFilter that applies the mappings contained in a NormalizeCharMap to the character stream, and correcting the resulting changes to the offsets. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.IO.TextReader
    Lucene.Net.Analysis.CharFilter
    BaseCharFilter
    MappingCharFilter
    Implements
    System.IDisposable
    Inherited Members
    BaseCharFilter.Correct(Int32)
    BaseCharFilter.LastCumulativeDiff
    BaseCharFilter.AddOffCorrectMap(Int32, Int32)
    Lucene.Net.Analysis.CharFilter.m_input
    CharFilter.Dispose(Boolean)
    CharFilter.CorrectOffset(Int32)
    CharFilter.Skip(Int32)
    Lucene.Net.Analysis.CharFilter.IsReady
    Lucene.Net.Analysis.CharFilter.IsMarkSupported
    CharFilter.Mark(Int32)
    System.IO.TextReader.Null
    System.IO.TextReader.Close()
    System.IO.TextReader.Dispose()
    System.IO.TextReader.Peek()
    System.IO.TextReader.ReadAsync(System.Char[], System.Int32, System.Int32)
    System.IO.TextReader.ReadBlock(System.Char[], System.Int32, System.Int32)
    System.IO.TextReader.ReadBlockAsync(System.Char[], System.Int32, System.Int32)
    System.IO.TextReader.ReadLine()
    System.IO.TextReader.ReadLineAsync()
    System.IO.TextReader.ReadToEnd()
    System.IO.TextReader.ReadToEndAsync()
    System.IO.TextReader.Synchronized(System.IO.TextReader)
    System.MarshalByRefObject.GetLifetimeService()
    System.MarshalByRefObject.InitializeLifetimeService()
    System.MarshalByRefObject.MemberwiseClone(System.Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.CharFilters
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class MappingCharFilter : BaseCharFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    MappingCharFilter(NormalizeCharMap, TextReader)

    Default constructor that takes a System.IO.TextReader.

    Declaration
    public MappingCharFilter(NormalizeCharMap normMap, TextReader in)
    Parameters
    Type Name Description
    NormalizeCharMap normMap
    System.IO.TextReader in

    Methods

    | Improve this Doc View Source

    Read()

    Declaration
    public override int Read()
    Returns
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Analysis.CharFilter.Read()
    | Improve this Doc View Source

    Read(Char[], Int32, Int32)

    Declaration
    public override int Read(char[] cbuf, int off, int len)
    Parameters
    Type Name Description
    System.Char[] cbuf
    System.Int32 off
    System.Int32 len
    Returns
    Type Description
    System.Int32
    Overrides
    CharFilter.Read(Char[], Int32, Int32)
    | Improve this Doc View Source

    Reset()

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

    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.