Class SynonymMap
A map of synonyms, keys and values are phrases.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
SynonymMap
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Synonym
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class SynonymMap
Constructors
| Improve this Doc View SourceSynonymMap(FST<BytesRef>, BytesRefHash, Int32)
Declaration
public SynonymMap(FST<BytesRef> fst, BytesRefHash words, int maxHorizontalContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Lucene.Net.Util.Fst.FST<Lucene.Net.Util.BytesRef> | fst | |
| Lucene.Net.Util.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 = '\0'
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 |
|---|---|
| Lucene.Net.Util.Fst.FST<Lucene.Net.Util.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 |
|---|---|
| Lucene.Net.Util.BytesRefHash |