Package org.elasticsearch.client.action.delete

Examples of org.elasticsearch.client.action.delete.DeleteRequestBuilder.execute()


    DeleteRequestBuilder drb = _elasticClient.prepareDelete(_sIndexName, _sIndexType, _id);
    if (null != sParentId) {
      drb.setRouting(sParentId);
    }
    drb.setConsistencyLevel(WriteConsistencyLevel.ONE);
    DeleteResponse dr = drb.execute().actionGet();
    return DeleteResponseUtils.isFound(dr);
   
  }//TESTED (including children)
   
  ///////////////////////////////////////////////////////////////////////////////////////
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.