Search Results for

    Show / Hide Table of Contents

    Interface ISynonymGraphTokenFilter

    The synonym_graph token filter allows to easily handle synonyms, including multi-word synonyms correctly during the analysis process.

    Inherited Members
    ITokenFilter.Type
    ITokenFilter.Version
    Namespace: OpenSearch.Client
    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
    Type Description
    bool?
    | Edit this page View Source

    Format

    Declaration
    [DataMember(Name = "format")]
    SynonymFormat? Format { get; set; }
    Property Value
    Type Description
    SynonymFormat?
    | 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
    Type Description
    bool?
    | Edit this page View Source

    Synonyms

    Declaration
    [DataMember(Name = "synonyms")]
    IEnumerable<string> Synonyms { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | 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
    Type Description
    string
    | Edit this page View Source

    Tokenizer

    Declaration
    [DataMember(Name = "tokenizer")]
    string Tokenizer { get; set; }
    Property Value
    Type Description
    string
    | 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
    Type Description
    bool?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Expand
      • Format
      • Lenient
      • Synonyms
      • SynonymsPath
      • Tokenizer
      • Updateable
    • Extension Methods
    Back to top Generated by DocFX