Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Language is a class that has a number of static properties that you can use to provide a specific language for the query.
SearchClient.Instance.UnifiedSearchFor(searchQuery, Language.English).GetResult().
... and if you want to load the current language.
SearchClient.Instance.UnifiedSearchFor(searchQuery, Language.GetSupportedLanguage(ContentLanguage.PreferredCulture)).GetResult().
Hi,
I'm trying to use UnifiedSearch as :
SearchClient.Instance.UnifiedSearchFor(searchQuery).GetResult().
But When I'm writing the code it is asking me to pass language parameter to UnifiedSearchFor method as :
UnifiedSearchFor(string query, Language language).
Not sure what is the language parameter I need to pass.
Any Ideas please.
Thanks.