Class PreventMappingMultipleTypesDescriptor
The common pattern in OpenSearch.Client is that you can call fluent methods multiple types overriding what was previously set. This type prevents a user to call Map() multiple times with different types making it crystal clear not only can you no longer have multiple types in an index MappingsDescriptor makes the overloads that take type obsolete as well. Both PreventMappingMultipleTypesDescriptor and MappingsDescriptor are obsolete. Please move to
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class PreventMappingMultipleTypesDescriptor : ObsoleteMappingsBase, ITypeMapping, IDescriptor