elasticsearch\BulkCommand addDeleteAction()

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.

doc_Yii
2016-10-30 17:01:33
Comments
Leave a Comment

Please login to continue.