Hi,
I have an object which contains a list of geographic locations as this:
public List<GeoLocation> Locations{get; set;}
This list is being correctly (as far as I can see) indexed by EPiServer Find.
I would then like to use the Within method for each of the locations in the Locations-list to check if any of them are within the specified polygon specified in the Within method.
I've tried using MatchContained, which not really is an option - and also tried using Nested2Find (changing the Location-list to NestedList<GeoLocation> using as follows:
query.Filter(x => x.Locations, l => l.Within((IEnumerable<GeoLocation>) bounds));
but this throws an exception saying:
QueryParsingException[[myIndex_Dev] failed to find geo_point field []
Any ideas on how to accomplish what I'm looking for ?