Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi Karthikeyan,
You can work around by trying another option for Language routing:
SearchClient.Instance.Conventions.ForInstancesOf<WithLanguageRoutingAttribute>().LanguageRoutingIs(x => x.LanguageRouting);
Add this line to your InitializtionModule and it should work.
Hope this help.
/Son Do
Thanks Son Do,
How can I pass language while search, filtering in find? Note:SearchResultItem is a custom model.
I am done like below one
ITypeSearch<SearchResultItem> query = SearchClient.Instance.Search<SearchResultItem>(Language.English) . . .ForOrSynonymSearch(subQueryText) .Filter(x => x.CatalogId.Match(Convert.ToInt32(GlobalSettings.SnSCatalogId))) .ApplyUserFilter(model.CurrentUser) . . query.GetResult();
But i am getting a result for all languages.
Hi Team,
We implemented find languagerouting for a custom index model.
When i try to index the model it throws "Object reference not set to an instance of an object".
stack trace:
Please help me out.
Regards,
Karthik
Edit:
Actually i am using this method to set an languagrouting