missing refresh step
This commit is contained in:
parent
7b4838fc9b
commit
0929088b12
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class SearchIndex:
|
|||
"source": "ctx._source.is_controlling=false",
|
||||
"lang": "painless"
|
||||
}
|
||||
await self.client.indices.refresh(self.index)
|
||||
await self.client.update_by_query(self.index, body=update)
|
||||
await self.client.indices.refresh(self.index)
|
||||
await async_bulk(self.client, actions)
|
||||
|
|
Loading…
Reference in a new issue