Search Results for

    Show / Hide Table of Contents

    Class CompletionSuggester

    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.

    Inheritance
    object
    SuggesterBase
    CompletionSuggester
    Implements
    ICompletionSuggester
    ISuggester
    Inherited Members
    SuggesterBase.Analyzer
    SuggesterBase.Field
    SuggesterBase.Size
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class CompletionSuggester : SuggesterBase, ICompletionSuggester, ISuggester

    Properties

    | Edit this page View Source

    Contexts

    Context mappings used to filter and/or boost suggestions

    Declaration
    public 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
    public ISuggestFuzziness Fuzzy { get; set; }
    Property Value
    Type Description
    ISuggestFuzziness
    | Edit this page View Source

    Prefix

    Prefix used to search for suggestions

    Declaration
    public 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
    public 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
    public bool? SkipDuplicates { get; set; }
    Property Value
    Type Description
    bool?

    Implements

    ICompletionSuggester
    ISuggester

    Extension Methods

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