Class SynonymMap
A map of synonyms, keys and values are phrases.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
    SynonymMap
  Namespace: Lucene.Net.Analysis.Synonym
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class SynonymMap : object
  Constructors
| Improve this Doc View SourceSynonymMap(FST<BytesRef>, BytesRefHash, Int32)
Declaration
public SynonymMap(FST<BytesRef> fst, BytesRefHash words, int maxHorizontalContext)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FST<BytesRef> | fst | |
| BytesRefHash | words | |
| System.Int32 | maxHorizontalContext | 
Fields
| Improve this Doc View SourceWORD_SEPARATOR
for multiword support, you must separate words with this separator
Declaration
public const char WORD_SEPARATOR = null
  Field Value
| Type | Description | 
|---|---|
| System.Char | 
Properties
| Improve this Doc View SourceFst
map<input word, list<ord>>
Declaration
public FST<BytesRef> Fst { get; }
  Property Value
| Type | Description | 
|---|---|
| FST<BytesRef> | 
MaxHorizontalContext
maxHorizontalContext: maximum context we need on the tokenstream
Declaration
public int MaxHorizontalContext { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Words
map<ord, outputword>
Declaration
public BytesRefHash Words { get; }
  Property Value
| Type | Description | 
|---|---|
| BytesRefHash |