public CreateIndexRequest mapping(String type,Object... source){
  mapping(type,PutMappingRequest.buildFromSimplifiedDef(type,source));
  return this;
}

public CreateIndexRequest mapping ( String type , Object ... source ) { mapping ( type , PutMappingRequest . buildFromSimplifiedDef ( type , source ) ) ; return this ; }
a specialized simplified mapping source method , takes the form of simple properties definition : ( " field1 " , " type = string , store = true " ) .
