Beispiel #1
0
 public static IIndicesResponse DeleteMapping <T>(
     this IElasticClient client,
     Func <DeleteMappingDescriptor, DeleteMappingDescriptor> selector = null)
     where T : class
 {
     selector = selector ?? (s => s);
     return(client.DeleteMapping(s => selector(s.Index <T>().Type <T>())));
 }