Class StemmerOverrideFilter.StemmerOverrideMap
A read-only 4-byte FST backed map that allows fast case-insensitive key
value lookups for Stemmer
Inheritance
System.Object
StemmerOverrideFilter.StemmerOverrideMap
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class StemmerOverrideMap : object
Constructors
| Improve this Doc View SourceStemmerOverrideMap(FST<BytesRef>, Boolean)
Creates a new Stemmer
Declaration
public StemmerOverrideMap(FST<BytesRef> fst, bool ignoreCase)
Parameters
Type | Name | Description |
---|---|---|
FST<Bytes |
fst | the fst to lookup the overrides |
System. |
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. |
buffer | |
System. |
bufferLen | |
FST. |
scratchArc | |
FST. |
fstReader |
Returns
Type | Description |
---|---|
Bytes |
GetBytesReader()
Returns a FST.
Declaration
public FST.BytesReader GetBytesReader()
Returns
Type | Description |
---|---|
FST. |