refresh after delete

This commit is contained in:
Victor Shyba 2021-01-29 03:46:48 -03:00
parent f9471f297e
commit 9989d8d1d4

View file

@ -74,6 +74,7 @@ class SearchIndex:
else:
to_update.append(doc)
await self.delete(to_delete)
await self.client.indices.refresh(self.index)
await self.update(to_update)
await self.client.indices.refresh(self.index)