Class MappingsDescriptor
Inheritance
MappingsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
[Obsolete("MappingsDescriptor is obsolete, no longer treats mappings as a dictionary. Please use TypeMappingsDescriptor")]
public class MappingsDescriptor : IDescriptor
Methods
|
Edit this page
View Source
Map(Func<TypeMappingDescriptor<object>, ITypeMapping>)
Declaration
[Obsolete("MappingsDescriptor is obsolete please call Map() on the parent descriptor")]
public ITypeMapping Map(Func<TypeMappingDescriptor<object>, ITypeMapping> selector)
Parameters
Returns
|
Edit this page
View Source
Map(object, Func<TypeMappingDescriptor<object>, ITypeMapping>)
Declaration
[Obsolete("Types are gone from OpenSearch, the first argument is completely ignored please remove it")]
public ITypeMapping Map(object type, Func<TypeMappingDescriptor<object>, ITypeMapping> selector)
Parameters
Returns
|
Edit this page
View Source
Map<T>(Func<TypeMappingDescriptor<T>, ITypeMapping>)
Declaration
[Obsolete("MappingsDescriptor is obsolete please call Map() on the parent descriptor")]
public ITypeMapping Map<T>(Func<TypeMappingDescriptor<T>, ITypeMapping> selector) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Map<T>(object, Func<TypeMappingDescriptor<T>, ITypeMapping>)
Declaration
[Obsolete("Types are gone from OpenSearch, the first argument is completely ignored please remove it")]
public ITypeMapping Map<T>(object type, Func<TypeMappingDescriptor<T>, ITypeMapping> selector) where T : class
Parameters
Returns
Type Parameters
Implements
Extension Methods