Search Results for

    Show / Hide Table of Contents

    Class TermsExclude

    Filters which terms to exclude from the response

    Inheritance
    object
    TermsExclude
    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 TermsExclude

    Constructors

    | Edit this page View Source

    TermsExclude(IEnumerable<string>)

    Creates an instance of TermsExclude that uses a collection of terms to exclude from the response

    Declaration
    public TermsExclude(IEnumerable<string> values)
    Parameters
    Type Name Description
    IEnumerable<string> values

    The exact terms to exclude

    | Edit this page View Source

    TermsExclude(string)

    Creates an instance of TermsExclude that uses a regular expression pattern to determine the terms to exclude from the response

    Declaration
    public TermsExclude(string pattern)
    Parameters
    Type Name Description
    string pattern

    The regular expression pattern

    Properties

    | Edit this page View Source

    Pattern

    The regular expression pattern to determine terms to exclude from the response

    Declaration
    public string Pattern { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Values

    Collection of terms to exclude from the response

    Declaration
    public IEnumerable<string> Values { get; set; }
    Property Value
    Type Description
    IEnumerable<string>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • TermsExclude(IEnumerable<string>)
      • TermsExclude(string)
    • Properties
      • Pattern
      • Values
    • Extension Methods
    Back to top Generated by DocFX