Class TermsExclude
Filters which terms to exclude from the response
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class TermsExclude
Constructors
| Edit this page View SourceTermsExclude(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 |
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 SourcePattern
The regular expression pattern to determine terms to exclude from the response
Declaration
public string Pattern { get; set; }
Property Value
Type | Description |
---|---|
string |
Values
Collection of terms to exclude from the response
Declaration
public IEnumerable<string> Values { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |