Пример #1
0
 public static Task <IIndicesResponse> DeleteMappingAsync <T>(
     this IElasticClient client,
     Func <DeleteMappingDescriptor, DeleteMappingDescriptor> selector = null)
     where T : class
 {
     selector = selector ?? (s => s);
     return(client.DeleteMappingAsync(s => selector(s.Index <T>().Type <T>())));
 }