qdrant-haystack 5.1.0__py3-none-any.whl → 6.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,6 @@ from haystack.dataclasses.sparse_embedding import SparseEmbedding
11
11
  from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError
12
12
  from haystack.document_stores.types import DuplicatePolicy
13
13
  from haystack.utils import Secret, deserialize_secrets_inplace
14
- from haystack.utils.filters import convert as convert_legacy_filters
15
14
  from qdrant_client import grpc
16
15
  from qdrant_client.http import models as rest
17
16
  from qdrant_client.http.exceptions import UnexpectedResponse
@@ -323,7 +322,8 @@ class QdrantDocumentStore:
323
322
  raise ValueError(msg)
324
323
 
325
324
  if filters and not isinstance(filters, rest.Filter) and "operator" not in filters:
326
- filters = convert_legacy_filters(filters)
325
+ msg = "Invalid filter syntax. See https://docs.haystack.deepset.ai/docs/metadata-filtering for details."
326
+ raise ValueError(msg)
327
327
  return list(
328
328
  self.get_documents_generator(
329
329
  filters,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qdrant-haystack
3
- Version: 5.1.0
3
+ Version: 6.0.0
4
4
  Summary: An integration of Qdrant ANN vector database backend with Haystack
5
5
  Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations
6
6
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/qdrant/README.md
@@ -2,10 +2,10 @@ haystack_integrations/components/retrievers/qdrant/__init__.py,sha256=IRjcM4f8b5
2
2
  haystack_integrations/components/retrievers/qdrant/retriever.py,sha256=VsQVsvf79imTCdWUKikUxpjczl5oxOV64a91aGXZwpE,21997
3
3
  haystack_integrations/document_stores/qdrant/__init__.py,sha256=kUGc5uewqArhmVR-JqB_NmJ4kNkTIQIvYDNSoO2ELn0,302
4
4
  haystack_integrations/document_stores/qdrant/converters.py,sha256=2hcuI3kty1dVHzX1WGXxEtlrnZ9E8TAG56XATCFa6Pw,2491
5
- haystack_integrations/document_stores/qdrant/document_store.py,sha256=WPjuSecd_uVy6RdM6T5w6kqPrXjOwnUb1sgROQxMfVE,42524
5
+ haystack_integrations/document_stores/qdrant/document_store.py,sha256=lljz3ksd6naKM9bsFaaaKLC1W6ZkyCCLFVR44WaQ1oA,42552
6
6
  haystack_integrations/document_stores/qdrant/filters.py,sha256=Nv_eKIYKwUWvldJfa0omfFQ0kgqi6L3DUFeMuIWziOY,11751
7
7
  haystack_integrations/document_stores/qdrant/migrate_to_sparse.py,sha256=yhZr4GB6N1S-Ikzl52hpuZt2aHNIb4leqFDhVMU3Uho,4910
8
- qdrant_haystack-5.1.0.dist-info/METADATA,sha256=grNTLGCFSD3JP43zMEyHjkJfhdeuU0ATqB2hKknZRR8,1863
9
- qdrant_haystack-5.1.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
10
- qdrant_haystack-5.1.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
11
- qdrant_haystack-5.1.0.dist-info/RECORD,,
8
+ qdrant_haystack-6.0.0.dist-info/METADATA,sha256=2EO3rBoGCI7Umy8XPhXj9eE8bSbYLDXUErdtA9yqmtQ,1863
9
+ qdrant_haystack-6.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
10
+ qdrant_haystack-6.0.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
11
+ qdrant_haystack-6.0.0.dist-info/RECORD,,