Search Results for

    Show / Hide Table of Contents

    Class CompletionField

    A field mapped as an ICompletionProperty. Convenience class to use when indexing completion fields.

    Inheritance
    object
    CompletionField
    Inherited Members
    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 CompletionField

    Properties

    | Edit this page View Source

    Contexts

    The contexts to associate with the input which can be used at query time to filter and boost suggestions

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

    Input

    The input to store. Can be a single or multiple inputs

    Declaration
    [DataMember(Name = "input")]
    public IEnumerable<string> Input { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    Weight

    A positive integer which defines a weight and allows you to rank your suggestions. This field is optional.

    Declaration
    [DataMember(Name = "weight")]
    public int? Weight { get; set; }
    Property Value
    Type Description
    int?

    Extension Methods

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