E.g. Search.mapping( ... ).getBackend( "myelasticsearchbackend" ).unwrap( ElasticsearchBackend.class ).getClient( RestClient.class )