missing refresh step

This commit is contained in:
Victor Shyba 2021-01-31 03:10:19 -03:00
parent 7b4838fc9b
commit 0929088b12

View file

@ -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)