Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to search my content and filter the results for different languages. I'm using Umbraco CMS 11.4.2 with Examine and I have two languages: Swedish and English.
Here's the code. Is there a way to send in the desired culture into the query? I couldn't find anything in the docs.
Umbraco.Cms.Core.Constants.UmbracoIndexes.ExternalIndexName, out var index);
var searchResult = index
.Execute(QueryOptions.SkipTake((pageNumber - 1) * pageSize, pageSize));
Thanks in advance!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted