Class TermsInclude
Filters which terms to include in the response
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class TermsInclude
Constructors
| Edit this page View SourceTermsInclude(IEnumerable<string>)
Creates an instance of Terms
Declaration
public TermsInclude(IEnumerable<string> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | values | The exact terms to include |
TermsInclude(long, long)
Creates an instance of Terms
Declaration
public TermsInclude(long partition, long numberOfPartitions)
Parameters
| Type | Name | Description |
|---|---|---|
| long | partition | The 0-based partition number for this request |
| long | numberOfPartitions | The total number of partitions |
TermsInclude(string)
Creates an instance of Terms
Declaration
public TermsInclude(string pattern)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pattern | The regular expression pattern |
Properties
| Edit this page View SourceNumberOfPartitions
The total number of partitions we are interested in
Declaration
[DataMember(Name = "num_partitions")]
public long? NumberOfPartitions { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Partition
The current partition of terms we are interested in
Declaration
[DataMember(Name = "partition")]
public long? Partition { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Pattern
The regular expression pattern to determine terms to include in the response
Declaration
[IgnoreDataMember]
public string Pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Values
Collection of terms to include in the response
Declaration
[IgnoreDataMember]
public IEnumerable<string> Values { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |