Building a generic search for RavenDb – failing to create Expression<Func> The standard search method on IRavenQueryable looks like this: