Welcome to the navigation

Quis laborum, anim in sint ut consequat, voluptate non ullamco incididunt esse in sunt sit et minim dolore cupidatat laboris dolor nulla ipsum velit amet. Cillum deserunt ullamco non pariatur, velit labore elit, aliquip anim in ut ex esse commodo minim lorem amet, eiusmod exercitation veniam, fugiat nisi ipsum qui

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)
Please note that this portal is a BETA site , I will continuously improve all functionality and performance during the coming weeks / the author