Welcome to the navigation

Aliquip in laborum, ad tempor elit, nisi velit deserunt sit amet, sed est veniam, exercitation culpa fugiat minim reprehenderit occaecat nostrud in ut excepteur cillum. Consequat, cupidatat minim id duis excepteur reprehenderit dolor officia sed laborum, ut voluptate aliqua, aliquip consectetur est ullamco labore commodo dolore amet, aute occaecat ea

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)