Skip to content

Commit

Permalink
Merge branch 'main' into unpin-protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnah199 authored Sep 13, 2024
2 parents ee8dd10 + 704847f commit f2d0d10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 444 deletions.
2 changes: 2 additions & 0 deletions integrations/qdrant/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## [integrations/qdrant-v6.0.0] - 2024-09-13

## [integrations/qdrant-v5.1.0] - 2024-09-12

### 🚀 Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError
from haystack.document_stores.types import DuplicatePolicy
from haystack.utils import Secret, deserialize_secrets_inplace
from haystack.utils.filters import convert as convert_legacy_filters
from qdrant_client import grpc
from qdrant_client.http import models as rest
from qdrant_client.http.exceptions import UnexpectedResponse
Expand Down Expand Up @@ -323,7 +322,8 @@ def filter_documents(
raise ValueError(msg)

if filters and not isinstance(filters, rest.Filter) and "operator" not in filters:
filters = convert_legacy_filters(filters)
msg = "Invalid filter syntax. See https://docs.haystack.deepset.ai/docs/metadata-filtering for details."
raise ValueError(msg)
return list(
self.get_documents_generator(
filters,
Expand Down
Loading

0 comments on commit f2d0d10

Please sign in to comment.