fix
This commit is contained in:
parent
69003373a9
commit
fadac0776a
|
|
@ -64,7 +64,7 @@ class ElasticIndex
|
|||
return [
|
||||
[
|
||||
'delete' => [
|
||||
'_index' => $index(),
|
||||
'_index' => $index,
|
||||
'_id' => $model->id,
|
||||
],
|
||||
],
|
||||
|
|
@ -73,7 +73,7 @@ class ElasticIndex
|
|||
|
||||
$this->handleResponse(
|
||||
$this->client->bulk([
|
||||
'index' => $index(),
|
||||
'index' => $index,
|
||||
'body' => $body->toArray(),
|
||||
'refresh' => true,
|
||||
])
|
||||
|
|
|
|||
Loading…
Reference in New Issue