Interface ISynonymGraphTokenFilter
The synonym_graph token filter allows to easily handle synonyms,
including multi-word synonyms correctly during the analysis process.
Assembly: OpenSearch.Client.dll
Syntax
public interface ISynonymGraphTokenFilter : ITokenFilter
Properties
|
Edit this page
View Source
Expand
Declaration
[DataMember(Name = "expand")]
bool? Expand { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[DataMember(Name = "format")]
SynonymFormat? Format { get; set; }
Property Value
|
Edit this page
View Source
Lenient
If true
ignores exceptions while parsing the synonym configuration. It is important
to note that only those synonym rules which cannot get parsed are ignored.
Declaration
[DataMember(Name = "lenient")]
bool? Lenient { get; set; }
Property Value
|
Edit this page
View Source
Synonyms
Declaration
[DataMember(Name = "synonyms")]
IEnumerable<string> Synonyms { get; set; }
Property Value
|
Edit this page
View Source
SynonymsPath
a path a synonyms file relative to the node's config
location.
Declaration
[DataMember(Name = "synonyms_path")]
string SynonymsPath { get; set; }
Property Value
|
Edit this page
View Source
Tokenizer
Declaration
[DataMember(Name = "tokenizer")]
string Tokenizer { get; set; }
Property Value
|
Edit this page
View Source
Updateable
Whether this token filter can reload changes to synonym files
on demand.
Marking as updateable means this component is only usable at search time
Declaration
[DataMember(Name = "updateable")]
bool? Updateable { get; set; }
Property Value
Extension Methods