Added mulit id filters support for all vectorstores (#3269)

This commit is contained in:
Parshva Daftari
2025-08-04 14:52:57 -07:00
committed by GitHub
parent 57a16aeb4b
commit 42e60d6724
8 changed files with 728 additions and 45 deletions
+4 -1
View File
@@ -148,6 +148,9 @@ class Qdrant(VectorStoreBase):
Returns:
Filter: The created Filter object.
"""
if not filters:
return None
conditions = []
for key, value in filters.items():
if isinstance(value, dict) and "gte" in value and "lte" in value:
@@ -258,7 +261,7 @@ class Qdrant(VectorStoreBase):
with_payload=True,
with_vectors=False,
)
return result
return result.points
def reset(self):
"""Reset the index by deleting and recreating it."""