Class ObjectProperty
A object datatype mapping for an inner object
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ObjectProperty : CorePropertyBase, IPropertyWithClrOrigin, IObjectProperty, ICoreProperty, IProperty, IFieldMapping
Constructors
| Edit this page View SourceObjectProperty()
Declaration
public ObjectProperty()
ObjectProperty(FieldType)
Declaration
protected ObjectProperty(FieldType type)
Parameters
Type | Name | Description |
---|---|---|
FieldType | type |
Properties
| Edit this page View SourceDynamic
Whether or not new properties should be added dynamically to an existing object.
Default is true
Declaration
public Union<bool, DynamicMapping> Dynamic { get; set; }
Property Value
Type | Description |
---|---|
Union<bool, DynamicMapping> |
Enabled
Whether the JSON value given for this field should be parsed and indexed. Default is true
Declaration
public bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Properties
The fields within the object
Declaration
public IProperties Properties { get; set; }
Property Value
Type | Description |
---|---|
IProperties |