Hi everyone,
currently I am trying to filter a natural language query to Watson Discovery by metadata-values. Everything works fine, except when the value I am trying to filter for contains ä, ü or ö... Probably there are some other cases that would fail as well.
When I query it with any query and tender="Frankfurt" it works. However, using the value tender="München" will always result in zero outputs. I also tried to accomplish it using a curl command, but same issue. Additionally I tried to use the unicode for the ü, so basically I provided this value tender="M\u00fcnchen", but this will throw an error because of the \.
FYI:
The project-language of the corresponding Watson Discovery project is set to german.
It seems like the natural_language_query can handle ä, ü and ö
Hi everyone, currently I am trying to filter a natural language query to Watson Discovery by metadata-values. Everything works fine, except when the value I am trying to filter for contains ä, ü or ö... Probably there are some other cases that would fail as well.
So in Python, my function looks like this:
When I query it with any query and
tender="Frankfurt"
it works. However, using the valuetender="München"
will always result in zero outputs. I also tried to accomplish it using a curl command, but same issue. Additionally I tried to use the unicode for the ü, so basically I provided this valuetender="M\u00fcnchen"
, but this will throw an error because of the\
.FYI:
Is there any way to resolve this?