We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72b65b commit 827b826Copy full SHA for 827b826
integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py
@@ -468,7 +468,7 @@ def _set_up_collection(
468
if self.use_sparse_embeddings:
469
current_distance = collection_info.config.params.vectors[DENSE_VECTORS_NAME].distance
470
current_vector_size = collection_info.config.params.vectors[DENSE_VECTORS_NAME].size
471
- if not self.use_sparse_embeddings:
+ else:
472
current_distance = collection_info.config.params.vectors.distance
473
current_vector_size = collection_info.config.params.vectors.size
474
0 commit comments