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):
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().And(x => x.GeoLocations.Where(n=>n.WithinDistanceFrom(location, radius)));
Thanks in advance!