Class DeleteRequestBuilder

    • Method Detail

      • setType

        public DeleteRequestBuilder setType​(java.lang.String type)
        Sets the type of the document to delete.
      • setId

        public DeleteRequestBuilder setId​(java.lang.String id)
        Sets the id of the document to delete.
      • setRouting

        public DeleteRequestBuilder setRouting​(java.lang.String routing)
        Controls the shard routing of the delete request. Using this value to hash the shard and not the id.
      • setVersion

        public DeleteRequestBuilder setVersion​(long version)
        Sets the version, which will cause the delete operation to only be performed if a matching version exists and no changes happened on the doc since then.