From 631f09a35d692de4613e37a61c800b4acb6165b5 Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Mon, 22 Dec 2025 14:35:04 -0500 Subject: [PATCH 1/3] updated limits in reindexing --- bbconf/modules/bedfiles.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bbconf/modules/bedfiles.py b/bbconf/modules/bedfiles.py index 1db3a24..b220bfe 100644 --- a/bbconf/modules/bedfiles.py +++ b/bbconf/modules/bedfiles.py @@ -2114,7 +2114,6 @@ def reindex_hybrid_search(self, batch: int = 1000, purge: bool = False) -> None: select(Bed) .join(BedMetadata, Bed.id == BedMetadata.id) .where(Bed.indexed == False) - .limit(batch) ) with Session(self._sa_engine) as session: From c41856f559e8cb745b008efdee2b8116b65252ff Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Mon, 22 Dec 2025 15:43:31 -0500 Subject: [PATCH 2/3] hybrid reindexing fix --- bbconf/modules/bedfiles.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bbconf/modules/bedfiles.py b/bbconf/modules/bedfiles.py index b220bfe..1792725 100644 --- a/bbconf/modules/bedfiles.py +++ b/bbconf/modules/bedfiles.py @@ -2195,11 +2195,16 @@ def reindex_hybrid_search(self, batch: int = 1000, purge: bool = False) -> None: operation_info = self.config.qdrant_client.upsert( collection_name=self.config.config.qdrant.hybrid_collection, points=points, + wait=False, ) - session.commit() pbar.write("Uploaded batch to qdrant.") points = [] - assert operation_info.status == "completed" + print(operation_info.status) + assert ( + operation_info.status == "completed" + or operation_info.status == "acknowledged" + ) + session.commit() pbar.write(f"File: {result.id} successfully indexed.") pbar.update(1) @@ -2209,7 +2214,10 @@ def reindex_hybrid_search(self, batch: int = 1000, purge: bool = False) -> None: collection_name=self.config.config.qdrant.hybrid_collection, points=points, ) - assert operation_info.status == "completed" + assert ( + operation_info.status == "completed" + or operation_info.status == "acknowledged" + ) session.commit() return None From d3a350e7a375ec62b98dae8cf6905b06fffe4d8e Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Mon, 22 Dec 2025 15:45:01 -0500 Subject: [PATCH 3/3] updated version --- bbconf/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbconf/_version.py b/bbconf/_version.py index 9e78220..f075dd3 100644 --- a/bbconf/_version.py +++ b/bbconf/_version.py @@ -1 +1 @@ -__version__ = "0.14.0" +__version__ = "0.14.1"