Skip to content

Commit 827b826

Browse files
CorentinAnush008
Corentin
andauthored
Update integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py
Co-authored-by: Anush <[email protected]>
1 parent a72b65b commit 827b826

File tree

1 file changed

+1
-1
lines changed
  • integrations/qdrant/src/haystack_integrations/document_stores/qdrant

1 file changed

+1
-1
lines changed

integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def _set_up_collection(
468468
if self.use_sparse_embeddings:
469469
current_distance = collection_info.config.params.vectors[DENSE_VECTORS_NAME].distance
470470
current_vector_size = collection_info.config.params.vectors[DENSE_VECTORS_NAME].size
471-
if not self.use_sparse_embeddings:
471+
else:
472472
current_distance = collection_info.config.params.vectors.distance
473473
current_vector_size = collection_info.config.params.vectors.size
474474

0 commit comments

Comments
 (0)