From 63ba387a9e3c490791ffda083607cec9e3ac40ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=B6rpel?= Date: Wed, 8 Jan 2025 18:49:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20(memorious)=20Make=20dataset=20s?= =?UTF-8?q?tatistics=20after=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- leakrfc/sync/memorious.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/leakrfc/sync/memorious.py b/leakrfc/sync/memorious.py index a1b342c..54c9689 100644 --- a/leakrfc/sync/memorious.py +++ b/leakrfc/sync/memorious.py @@ -95,6 +95,8 @@ def load_memorious(self, key: str) -> File | None: def done(self) -> None: documents = self.dataset.documents.write() + self.dataset.make_index() + self.dataset.make_size() self.log_info( f"Done memorious import from `{self.memorious.uri}`", documents=documents )