diff --git a/qdrant_client/local/local_collection.py b/qdrant_client/local/local_collection.py index 3472c838..b067732b 100644 --- a/qdrant_client/local/local_collection.py +++ b/qdrant_client/local/local_collection.py @@ -615,7 +615,7 @@ def search( score = scores[idx] # skip undefined scores from sparse vectors - if sparse_scoring and score == np.NINF: + if sparse_scoring and score == -np.inf: continue point_id = self.ids_inv[idx]