Try our conversational search powered by Generative AI!

Filtering a list of geo locations


We have trip object contains a list of geographic locations as this

     public NestedList GeoLocations { get; set; }

I can see the list being indexed

We have the filter like the below to find trips within an area.

   SearchQuery = SearchQuery.Filter(t => t.GeoLocations, geo => geo.Within(searchParameters.Sodermalm));

However the Find fails to execute the phase: failed to find geo_point field


{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures .........................

] failed to find geo_point field [GeoLocations$$nested.]]; }]","status":400}

Anyone can help this. Thanks a lot.

Jun 27, 2016 18:27

Hi! Did you find a solution to this? I'm encountering a very similar solution since I updated EPiServer.Find to version 12.

Jan 25, 2017 10:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.