Class StemmerOverrideFilter.StemmerOverrideMap
A read-only 4-byte FST backed map that allows fast case-insensitive key value lookups for StemmerOverrideFilter
Inherited Members
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 |