World is now on Opti ID! Learn more

LanguageRoutingFactory for fallback language

Vote:
 

This relates to https://world.optimizely.com/forum/developers-add-ons-forum/Search/Thread-Container/2019/11/unified-search-not-finding-content-in-fallback-language/

I am not able to get search hits from fallback language.

Say I have set fallback for en-CA to en-GB. Navigating and seeing content is no problems.

When I perform a search however, I just get hits on pages/content that are published on current language. I wish to get hits from the fallback language (en-GB) as well.

 

I have implemented a FallbackLanguageRoutingFactory which inherits from LanguageRoutingFactory and an Initialization Module for IndexingModule which adds singleton.

I am not able to get the result as expected.

Could this be due to the demo index I am using?!

 

Using EPiserver.Find.Cms 16.4.1

#337755
Apr 08, 2025 11:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.