Class DynamicTemplate
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DynamicTemplate : IDynamicTemplate
Properties
| Edit this page View SourceMapping
The mapping to apply to matching fields
Declaration
public IProperty Mapping { get; set; }
Property Value
Type | Description |
---|---|
IProperty |
Match
A pattern to match on the field name
Declaration
public string Match { get; set; }
Property Value
Type | Description |
---|---|
string |
MatchMappingType
Matches on the datatype detected by dynamic field mapping, in other words, the datatype that OpenSearch thinks the field should have. Only the following datatypes can be automatically detected: boolean, date, double, long, object, string. It also accepts * to match all datatypes.
Declaration
public string MatchMappingType { get; set; }
Property Value
Type | Description |
---|---|
string |
MatchPattern
Adjusts the behavior of Match such that it supports full Java regular expression matching on the field name instead of simple wildcards
Declaration
public MatchType? MatchPattern { get; set; }
Property Value
Type | Description |
---|---|
MatchType? |
PathMatch
A pattern to match on the field name, which may be the full dotted path to the field name
Declaration
public string PathMatch { get; set; }
Property Value
Type | Description |
---|---|
string |
PathUnmatch
A pattern to exclude fields matched by PathMatch
Declaration
public string PathUnmatch { get; set; }
Property Value
Type | Description |
---|---|
string |
Unmatch
A pattern to exclude fields matched by Match
Declaration
public string Unmatch { get; set; }
Property Value
Type | Description |
---|---|
string |