Does anyone know of any working examples of using the new Geolocation field as a SharePoint 2013 search refiner? We would like to tag items with their location and then enable end-users to filter content search results based on a chosen distance from a designated postal (e.g. zip) code. i.e. I want to see all items within 5 miles of my post code.

Has anyone done this yet?

  • We would also need to sort by distance. There is mention of distance sorting in the following link - msdn.microsoft.com/en-us/library/office/jj938031.aspx. There's no mention of using the Geolocation field type specifically, we could just use a longtitude and latitude fields I suppose. Dec 5, 2013 at 17:12
  • So having done a bit of proof-of-concept work it seems the geolocation field does not get indexed by search so I have had to create Longtitude and Latitude fields. I'm still no closer to getting these working as refiners though as the data needed to build the refiners (the distance from a user-chosen point) is not in the index either, and can only be calculated at run-time for each user query. Dec 9, 2013 at 16:41


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.