Search Results for

    Show / Hide Table of Contents

    Interface ICompletionSuggester

    The completion suggester provides auto-complete/search-as-you-type functionality. This is a navigational feature to guide users to relevant results as they are typing, improving search precision. It is not meant for spell correction or did-you-mean functionality like the term or phrase suggesters.

    Inherited Members
    ISuggester.Analyzer
    ISuggester.Field
    ISuggester.Size
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ICompletionSuggester : ISuggester

    Properties

    | Edit this page View Source

    Contexts

    Context mappings used to filter and/or boost suggestions

    Declaration
    [DataMember(Name = "contexts")]
    IDictionary<string, IList<ISuggestContextQuery>> Contexts { get; set; }
    Property Value
    Type Description
    IDictionary<string, IList<ISuggestContextQuery>>
    | Edit this page View Source

    Fuzzy

    Support fuzziness for the suggestions

    Declaration
    [DataMember(Name = "fuzzy")]
    ISuggestFuzziness Fuzzy { get; set; }
    Property Value
    Type Description
    ISuggestFuzziness
    | Edit this page View Source

    Prefix

    Prefix used to search for suggestions

    Declaration
    [IgnoreDataMember]
    string Prefix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Regex

    Prefix as a regular expression used to search for suggestions

    Declaration
    [IgnoreDataMember]
    string Regex { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SkipDuplicates

    Whether duplicate suggestions should be filtered out. Defaults to false

    Declaration
    [DataMember(Name = "skip_duplicates")]
    bool? SkipDuplicates { get; set; }
    Property Value
    Type Description
    bool?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Contexts
      • Fuzzy
      • Prefix
      • Regex
      • SkipDuplicates
    • Extension Methods
    Back to top Generated by DocFX