public CreateIndexRequest source(String source){
  return source(source.getBytes(Charsets.UTF_8));
}

public CreateIndexRequest source ( String source ) { return source ( source . getBytes ( Charsets . UTF_8 ) ) ; }
sets the settings and mappings as a single source .
