Skip to content

Commit

Permalink
fix: cache_checker filters
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantnaik19 committed Jun 19, 2024
1 parent 2f6ae41 commit 3c873d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/components/caching/cache_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def run(self, items: List[Any]):
misses = []

for item in items:
filters = {self.cache_field: item}
filters = {"field": self.cache_field, "operator": "==", "value": item}
found = self.document_store.filter_documents(filters=filters)
if found:
found_documents.extend(found)
Expand Down

0 comments on commit 3c873d2

Please sign in to comment.