Metadata values are being dropped when list of values are provided #3434
Labels
Contributions wanted!
Looking for external contributions
good first issue
Good for newcomers
topic:document_store
topic:metadata
topic:sql
type:bug
Something isn't working
Describe the bug
If document metadata has a list, the corresponding values are not being added to the documentstore. It is removing the metadata for that particular document during writing to documentstore.
Error message
The following code is being executed but it is throwing the following warning. As a result, some metadata is not added to the documentstore.
Expected behavior
All metadata should be added to the documentstore so as to use it during prediction using the filters option
Additional context
I am using FAISS Documentstore with the haystack v1.9.1 version. Metadata filtering is working with single values but facing an issue when we have multiple values in metadata.
To Reproduce
FAQ Check
Done
System:
The text was updated successfully, but these errors were encountered: