Episerver Find - related queries on current site on a multi-site

  • Updated

If you have a multisite installation and want to get related queries filtered on the current site.

What you can do is to do something like this:

var didyouMean = client.Statistics().GetDidYouMean(model.Query, x =>
            {
                x.Size = 10;
                x.Tags = new List<string> { "siteid:dd42ed4-9682-009a-ffll-8de0012adf8d" };
            });