Context language filter in Recommendations Search Interface
So, I know that search interface does add a cq for language filter by default based on context language of the page. I do not see this being added on Recommendations search interface.
How do I force this language filter condition on cq? Is JS Query filter my only option, wondering if we can use query filter some how to avoid JS route. Is there a good way to do this via rule editor provided on query filter hive rendering ?
Or any other good ways of forcing the language filter?
In Coveo for Sitecore Hive, the `Sitecore Instance Filter` component is the one that provides the `cq` part of the query.
In the standard `Coveo Search Interface`, you can see in the Experience Editor that there are some "Mandatory Components". Those are, in fact, all separate components that happen to be included directly in the Search Interface to improve its usability.
But each mandatory component can be configured as a component with its own data source in the Related Query and Recommendations component. I think `Sitecore Instance Filter` will fulfill your use case :)
Have a look at the other components in the `Scopes` category. All of those components alter the query in some way.