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
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 StemmerOverrideFilter.StemmerOverrideMap
Declaration
public StemmerOverrideMap(FST<BytesRef> fst, bool ignoreCase)
Parameters
| Type | Name | Description |
|---|---|---|
| FST<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 | |
| FST.Arc<BytesRef> | scratchArc | |
| FST.BytesReader | fstReader |
Returns
| Type | Description |
|---|---|
| BytesRef |
GetBytesReader()
Returns a FST.BytesReader to pass to the Get(Char[], Int32, FST.Arc<BytesRef>, FST.BytesReader) method.
Declaration
public FST.BytesReader GetBytesReader()
Returns
| Type | Description |
|---|---|
| FST.BytesReader |