November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Okay so if I have swedish language enabled and search I get only swedish results. :-/
Maybe it's not possible to do a UnifiedSearch over all the languages?
By default UnifiedSearch will query the language branch associated with the current user and apply .FilterForVisitor(language) (and also .FilterOnCurrentSite(), .ExcludeContainerPages() ad .ExcludeContentFolders()). If you want to override the language set by default form the user context you can use:
.OverrideCurrentLanguage(Language.English)
or if you want to query all language branches you can use:
.OverrideCurrentLanguage(Language.None)
/Henriik
Thank you, I tried it but it did not change anything unfortunately. Still same result.
I browse the swedish part of site and search gives me swedish results and browsing and searching on the english part of site gives me english hits.
Same search, different active languages.
Sorry, You were right ofcourse. Stupid me missed a Filter set in initialization. FilterForVisitor() :-/
Hi,
I have a problem getting swedish results with UnifiedSearchFor(query)
If I use Search the swedish results show up. Is there some built in Filter in UnifiedSearch like FilterForVisitor() ?