How to perform Geo Search

Nov 6, 2009 at 9:26 AM
Edited Nov 6, 2009 at 9:27 AM

Hi All,

How to perform GeoSearch in SharePoint with ESP Web parts.

As per my understanding we need to pass the parameter as qtf_geosearch:center=(59.56,10.41)

Please share th exact code to perform the same.







Nov 6, 2009 at 9:32 AM

Yes. You are correct.

You can do this by modifying Query Template of Default ESP Web Parts.

Nov 6, 2009 at 9:48 AM
Edited Nov 6, 2009 at 11:56 AM


Thanks for a quick reply,

 Here is what i am trying to do in ESPSearchConfig.cs file under ConfigureSearch


"qtf_geosearch:filterbox", "(59.5,10.4);(61.5,12.4)");

 Please check and let me know if it is right.

Thanks in advance.





Nov 6, 2009 at 1:55 PM


I'm not FAST Expert, What I know is you can update default FAST Query in  ConfigureSearch() method. But I'm not sure wheter SearchRequest.SetCustomParameterByName will support parameters for Geo-Search.

What I can suggest is, when though FAST Extranet and get correct FQL for that, then check with your SFE and update your FQL with it.