elasticsearch\Command insert()

insert() public method

public mixed insert ( $index, $type, $data, $id = null, $options = [] )
$index string
$type string
$data string|array

Json string or array of data to store

$id null

The documents id. If not specified Id will be automatically chosen

$options array
doc_Yii
2016-10-30 17:01:40
Comments
Leave a Comment

Please login to continue.