• Removing page type from Episerver Search results
    Description To remove page types from episerver search(lucene) search results do the below.  Resolution Add the ISearchable interface to your class and add the following properties.  public bool AllowReIndexChildren { get { return true; } } public bool IsSearchable { get { return ...

  • Multi-words synonyms don't work if query contains WithAndAsDefaultOperator
    DescriptionMulti-words synonyms don't work if query contains WithAndAsDefaultOperator.  For example: if (!String.IsNullOrWhiteSpace(query.QueryString)) { search = search.For(query.QueryString) .InAllField() .WithAndAsDefaultOperator() .UsingSynonyms(); }CauseThe issue is with how the token...

  • How to Get Find Autocomplete Results Only For the Current Language Branch
    Episerver Find has a nifty autocomplete feature which allows users to get suggestions as they are typing their search query. If you have a multi-language site, autocomplete by default will return suggestions from all languages. If you want to return autocomplete suggestions only from th...

  • Find Index Timeout with OnPublish Event
    The error you might see in your log is this: EPiServer.Logging.Compatibility.LogManager+CompatibilityWrapper.Error - An exception occurred while indexing (IContent). The operation has timed out. EPiServer.Find.ServiceException: The operation has timed out ---> System.Net.WebException...