Welcome to the navigation

Officia incididunt dolore do nisi consectetur mollit adipisicing magna laboris elit, id nulla culpa in quis esse fugiat occaecat qui minim pariatur, cupidatat in commodo. Consequat, ut ea ut cillum qui officia est cupidatat dolore ad ipsum sit nisi incididunt pariatur, lorem irure esse enim occaecat dolor amet, nostrud ullamco

Yeah, this will be replaced... But please enjoy the search!

EPiServer Find Wildcard searching

This is a bit of a hidden feature in EPiServer Find. Typically when you want wildcard searching miscellaneous blogs will make us use the EPiServer UnifiedSearch. There is a much simpler solution than so.

public static class SearchExtensions
    public static IQueriedSearch<T> WildCardSearch<T>(this ITypeSearch<T> search, string query)
        return search.For<T>(query, q => q.Query = string.Concat("*", query, "*"));

Use it like this

var result = SearchClient.Instance.Search<FAQItem>()
                    .OrderByDescending(x => x.Name)