We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9496c3 commit 8e5fda8Copy full SHA for 8e5fda8
integrations/azure_ai_search/src/haystack_integrations/document_stores/azure_ai_search/filters.py
@@ -79,8 +79,8 @@ def _in(field: str, value: Any) -> str:
79
if not isinstance(value, list) or any(not isinstance(v, str) for v in value):
80
msg = "Azure AI Search only supports a list of strings for 'in' comparators"
81
raise AzureAISearchDocumentStoreFilterError(msg)
82
- values = ", ".join(map(str, value))
83
- return f"search.in({field},'{values}')"
+ values = ",".join(map(str, value))
+ return f"search.in({field},'{values}',',')"
84
85
86
def _comparison_operator(field: str, value: Any, operator: str) -> str:
0 commit comments