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
    object
    StemmerOverrideFilter.StemmerOverrideMap
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Miscellaneous
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class StemmerOverrideFilter.StemmerOverrideMap

    Constructors

    StemmerOverrideMap(FST<BytesRef>, bool)

    Creates a new StemmerOverrideFilter.StemmerOverrideMap

    Declaration
    public StemmerOverrideMap(FST<BytesRef> fst, bool ignoreCase)
    Parameters
    Type Name Description
    FST<BytesRef> fst

    the fst to lookup the overrides

    bool ignoreCase

    if the keys case should be ingored

    Methods

    Get(char[], int, Arc<BytesRef>, 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
    char[] buffer
    int bufferLen
    FST.Arc<BytesRef> scratchArc
    FST.BytesReader fstReader
    Returns
    Type Description
    BytesRef

    GetBytesReader()

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

    Declaration
    public FST.BytesReader GetBytesReader()
    Returns
    Type Description
    FST.BytesReader
    Back to top Copyright © 2024 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.