Welcome to the navigation

Labore dolore cillum qui commodo duis minim quis consectetur ut eu officia et eiusmod incididunt est sed sunt enim occaecat id dolor lorem ullamco aliqua. Sed sit nisi laboris ex adipisicing veniam, incididunt ipsum lorem velit et laborum, sunt reprehenderit eu est do qui amet, fugiat ut dolore sint ad

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)