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 SourceStemmerOverrideMap(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 SourceGet(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 |
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 |