private void removeContentFromIndex(final Contentlet content, final boolean onlyLive, final List<Relationship> relationships) throws DotHibernateException {
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)