addDeleteAction() public method
Adds a delete action to the command.
public void addDeleteAction ( $id, $index = null, $type = null )$id string
Document ID $index string
Index that the document belogs to. Can be set to null if the command has a default index (yii\elasticsearch\BulkCommand::$index) assigned. $type string
Type that the document belogs to. Can be set to null if the command has a default type (yii\elasticsearch\BulkCommand::$type) assigned.