Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class StemmerOverrideFilter.StemmerOverrideMap

    A read-only 4-byte FST backed map that allows fast case-insensitive key value lookups for StemmerOverrideFilter

    Inheritance
    System.Object
    StemmerOverrideFilter.StemmerOverrideMap
    Inherited Members
    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.Miscellaneous
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class StemmerOverrideMap

    Constructors

    | Improve this Doc View Source

    StemmerOverrideMap(FST<BytesRef>, Boolean)

    Creates a new StemmerOverrideFilter.StemmerOverrideMap

    Declaration
    public StemmerOverrideMap(FST<BytesRef> fst, bool ignoreCase)
    Parameters
    Type Name Description
    Lucene.Net.Util.Fst.FST<Lucene.Net.Util.BytesRef> fst

    the fst to lookup the overrides

    System.Boolean ignoreCase

    if the keys case should be ingored

    Methods

    | Improve this Doc View Source

    Get(Char[], Int32, FST.Arc<BytesRef>, FST.BytesReader)

    Returns the value mapped to the given key or

    null
    if the key is not in the FST dictionary.

    Declaration
    public BytesRef Get(char[] buffer, int bufferLen, FST.Arc<BytesRef> scratchArc, FST.BytesReader fstReader)
    Parameters
    Type Name Description
    System.Char[] buffer
    System.Int32 bufferLen
    Lucene.Net.Util.Fst.FST.Arc<Lucene.Net.Util.BytesRef> scratchArc
    Lucene.Net.Util.Fst.FST.BytesReader fstReader
    Returns
    Type Description
    Lucene.Net.Util.BytesRef
    | Improve this Doc View Source

    GetBytesReader()

    Returns a Lucene.Net.Util.Fst.FST.BytesReader to pass to the Get(Char[], Int32, FST.Arc<BytesRef>, FST.BytesReader) method.

    Declaration
    public FST.BytesReader GetBytesReader()
    Returns
    Type Description
    Lucene.Net.Util.Fst.FST.BytesReader
    • 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.