Interface IClrTypeMapping
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IClrTypeMapping
Properties
| Edit this page View SourceClrType
The CLR type the mapping relates to
Declaration
Type ClrType { get; }
Property Value
Type | Description |
---|---|
Type |
DisableIdInference
Disables Id inference for the given ClrType. By default, the _id value for a document is inferred from a property named Id, or from the property named by IdPropertyName, if set.
Declaration
bool DisableIdInference { get; set; }
Property Value
Type | Description |
---|---|
bool |
IdPropertyName
The property for the given ClrType to resolve ids from.
Declaration
string IdPropertyName { get; set; }
Property Value
Type | Description |
---|---|
string |
IndexName
The default OpenSearch index name for the given ClrType
Declaration
string IndexName { get; set; }
Property Value
Type | Description |
---|---|
string |
RelationName
The relation name for the given ClrType to resolve to.
Declaration
string RelationName { get; set; }
Property Value
Type | Description |
---|---|
string |