Class NestedPropertyDescriptor<TParent, TChild>
A specialised version of the IObject
Inheritance
ObjectPropertyDescriptorBase <NestedPropertyDescriptor <TParent, TChild>, INestedProperty , TParent, TChild>
NestedPropertyDescriptor<TParent, TChild>
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class NestedPropertyDescriptor<TParent, TChild> : ObjectPropertyDescriptorBase<NestedPropertyDescriptor<TParent, TChild>, INestedProperty, TParent, TChild>, IDescriptor, INestedProperty, IObjectProperty, ICoreProperty, IProperty, IFieldMapping where TParent : class where TChild : class
Type Parameters
Name | Description |
---|---|
TParent | |
TChild |
Constructors
| Edit this page View SourceNestedPropertyDescriptor()
Declaration
public NestedPropertyDescriptor()
Methods
| Edit this page View SourceIncludeInParent(bool?)
Whether to also index nested objects as flattened values on the parent document.
Declaration
public NestedPropertyDescriptor<TParent, TChild> IncludeInParent(bool? includeInParent = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | includeInParent |
Returns
Type | Description |
---|---|
Nested |
IncludeInRoot(bool?)
Whether to also index nested objects as flattened values on the root document.
Declaration
public NestedPropertyDescriptor<TParent, TChild> IncludeInRoot(bool? includeInRoot = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | includeInRoot |
Returns
Type | Description |
---|---|
Nested |