London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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.