Runnable indexRunner = new Runnable() {
public void run() {
try {
String id=content.getIdentifier()+"_"+content.getLanguageId();
Client client=new ESClient().getClient();
BulkRequestBuilder bulk=client.prepareBulk();
IndiciesInfo info=APILocator.getIndiciesAPI().loadIndicies();
bulk.add(client.prepareDelete(info.live, "content", id));
if(info.reindex_live!=null)
bulk.add(client.prepareDelete(info.reindex_live, "content", id));