diff --git a/service/embedding_search.py b/service/embedding_search.py index 319200b..aeff29c 100644 --- a/service/embedding_search.py +++ b/service/embedding_search.py @@ -161,7 +161,7 @@ class EmbeddingSearchService: if self.collection_id != self.title_index.collection_id: async with PageIndexHelper(self.dbs, self.title_index.collection_id) as old_page_index: await old_page_index.init_table() - old_page_index.remove_by_page_id(self.page_id) + await old_page_index.remove_by_page_id(self.page_id) self.title_index.collection_id = self.collection_id await self.title_index_helper.update(self.title_index)