C# Class Lucene.Net.Analysis.Miscellaneous.StemmerOverrideFilter.StemmerOverrideMap

A read-only 4-byte FST backed map that allows fast case-insensitive key value lookups for StemmerOverrideFilter
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Get ( char buffer, int bufferLen, FST scratchArc, FST fstReader ) : BytesRef

Returns the value mapped to the given key or null if the key is not in the FST dictionary.

StemmerOverrideMap ( FST fst, bool ignoreCase ) : System.Collections.Generic

Creates a new StemmerOverrideMap

Method Details

Get() public method

Returns the value mapped to the given key or null if the key is not in the FST dictionary.
public Get ( char buffer, int bufferLen, FST scratchArc, FST fstReader ) : BytesRef
buffer char
bufferLen int
scratchArc FST
fstReader FST
return BytesRef

StemmerOverrideMap() public method

Creates a new StemmerOverrideMap
public StemmerOverrideMap ( FST fst, bool ignoreCase ) : System.Collections.Generic
fst FST the fst to lookup the overrides
ignoreCase bool if the keys case should be ingored
return System.Collections.Generic