Specify the query suggestion language

Hello,

I'm trying to use the Query Suggestion from App Search.

It is possible to specify the language?

For instance, in the following example:
{ "query": "car", "types": { "documents": { "fields": [ "title", "states" ] } }, "size": 4 }'

change to:
{ "query": "car", "language": en, "types": { "documents": { "fields": [ "title", "states" ] } }, "size": 4 }'

Thank you,

I don't think this is something we support. Language is set on an engine level. You could create a different engine per language, and dynamically change the engine you are querying against based on the user's language preference.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.