Episerver.Find.Statistics GetDidYouMean() returning multiple language results

Vote:
 

Hi

Episerver.Find.Statistics GetDidYouMean() is returning results in multiple languages. Is there a way to restrict language here? i reviewed the limited documentation I found around this and couldn't find any option to do so.

We are using Episerver.Find 12.4

Please advice.

Regards

Ritu

#249970
Mar 12, 2021 16:51
Vote:
 

Unfortunately no, filter by language is not available

#249993
Mar 13, 2021 7:46
Vote:
 

Hi Quan

Is there an indirect way of achieving this? How about if we don't use statistics, is there another way to obtain language specific Did you mean results?

Regards

Ritu

#250084
Mar 15, 2021 13:36
Vote:
 

Hi

Any update on this?

Regards

Ritu

#250775
Mar 17, 2021 14:43
Vote:
 

You should be able to pass language and site tags to StatistcsDidYouMean()

public static DidYouMeanResult StatisticsDidYouMean(this IStatisticsClient client, string query, int size = 1, IEnumerable<string> tags = null)
ServiceLocator.Current.GetInstance<IStatisticTagsHelper>().GetTags(false);

 should give you the current tags which are language and site tags.

#250987
Mar 19, 2021 9:43
* 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.