+ " at " + searchIndexName + " with " + basicAuthCredentials);
Settings settings = ImmutableSettings.settingsBuilder()
.put("cluster.name", cluster).build();
Client client = new TransportClient(settings).
addTransportAddress(new InetSocketTransportAddress(searchHost, searchPort));
Settings emptySettings = ImmutableSettings.settingsBuilder().build();
RestController contrl = new RestController(emptySettings);
ReIndexAction action = new ReIndexAction(emptySettings, client, contrl) {
@Override protected MySearchHits callback(MySearchHits hits) {