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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.