Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Epi customFilter + WithinDistanceFrom

$
0
0

Hi all!

I'm struggling to find a solution for my custom filter. I need to search through the objects where every object has a collection of GeoLocations. I need to check the items of the collection and grab the object which has at least one GeoLocation in defined radius. I need something like this (request is wrong):

  FilterBuilder = SearchClient.Instance.BuildFilter<FaVPractice>().And(x => x.GeoLocations.Where(n=>n.WithinDistanceFrom(location, radius)));

Thanks in advance!


Viewing all articles
Browse latest Browse all 6894

Trending Articles