Class JoinPropertyDescriptor<T>
The join datatype is a special field that creates parent/child relation within documents of the same index.
Inheritance
JoinPropertyDescriptor<T>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class JoinPropertyDescriptor<T> : PropertyDescriptorBase<JoinPropertyDescriptor<T>, IJoinProperty, T>, IDescriptor, IJoinProperty, IProperty, IFieldMapping where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Edit this page View SourceJoinPropertyDescriptor()
Declaration
public JoinPropertyDescriptor()
Methods
| Edit this page View SourceRelations(Func<RelationsDescriptor, IPromise<IRelations>>)
Defines a set of possible relations within the documents, each relation being a parent name and a child name.
Declaration
public JoinPropertyDescriptor<T> Relations(Func<RelationsDescriptor, IPromise<IRelations>> selector)
Parameters
Type | Name | Description |
---|---|---|
Func<RelationsDescriptor, IPromise<IRelations>> | selector |
Returns
Type | Description |
---|---|
JoinPropertyDescriptor<T> |